[Jenkins]Why User-Defined axis doesn't work with slaves

496 views Asked by At

I created a multi-configuration project that is running a couple of automation tests. I have an user-defined axis that is running on a single node and I want to parallelize the process.

I have the following configuration:

Configuration

My problem is that both jobs will be running one the same node. At first it wil start "EU_Washroom" and then "EU_Linen".

Jobs

"EU_Linen" is not running on the 5th(JenkinsQFT5) node, instead is running on 4, disregarding the combination filter(QF_SCRIPT_NAME == "EU_Linen" && slave=="Jenkins-QFT5"). Also at the end of the name of the job, the name of the node is added.

Is it a bug or am I doing something wrong? I'm using Jenkins version 1.598

EDIT: I deleted the combination filter and all 4 combinations were running on a single node. Both nodes are set with the usage: "Utilize this node as much as possible"

EDIT #2: I deleted the user-defined Axis, and let only the Slave-Axis and it acts the same. The console of the job that should ran on Jenkins-QFT5: Building remotely on Jenkins-QFT4 in workspace c:\JenkinsSlave\lib\workspace\8.03.08-QF-tests\TestParalelFor8\Jenkins-QFT5

2

There are 2 answers

0
Mircea-Andrei Albu On BEST ANSWER

It was a bug in Jenkins v1.598

1
Alin Nedelcu On

In Jenkins ver. 2.5 this is working well.