Details
-
New Feature
-
Status: In Progress (View Workflow)
-
Major
-
Resolution: Unresolved
-
Jenkins 1.656
Description
job-restrictions-plugin does not support Pipeline Plugin (aka Workflow plugin) and it's behavior is not as expected.
Steps to reproduce it:
Create a job using Pipeline Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin)
Create a slave in your master called for example 'demo-slave'.
In your Groovy script using pipeline do:
node('master') {
}
node('demo-slave') {
}
After in 'demo-slave' configuration, restrict it:
No matter if you start your job with 'daniel_hernandez' user or other user, the job will not get a executor from the demo-slave node getting the message:
Waiting for next available executor on demo-slave
After, You can release it setting the value to 'Take any job'
Attachments
Issue Links
- is related to
-
JENKINS-36626 Support folder plugin with pipeline
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Description | job-restrictions-plugin does not support Pipeline Plugin (aka Workflow plugin) and it's behavior is not as expected. |
job-restrictions-plugin does not support Pipeline Plugin (aka Workflow plugin) and it's behavior is not as expected. Steps to reproduce it: Create a job using Pipeline Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin) Create a slave in your master called for example 'demo-slave'. In your Groovy script using pipeline do: node('master') { } node('demo-slave') { } After in 'demo-slave' configuration, restrict it: |
Attachment | Captura.PNG [ 32498 ] |
Description |
job-restrictions-plugin does not support Pipeline Plugin (aka Workflow plugin) and it's behavior is not as expected. Steps to reproduce it: Create a job using Pipeline Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin) Create a slave in your master called for example 'demo-slave'. In your Groovy script using pipeline do: node('master') { } node('demo-slave') { } After in 'demo-slave' configuration, restrict it: |
job-restrictions-plugin does not support Pipeline Plugin (aka Workflow plugin) and it's behavior is not as expected. Steps to reproduce it: Create a job using Pipeline Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin) Create a slave in your master called for example 'demo-slave'. In your Groovy script using pipeline do: node('master') { } node('demo-slave') { } After in 'demo-slave' configuration, restrict it: !Captura.PNG|thumbnail! No matter if start your job with 'daniel_hernandez' user or other user, the job will not get a executor from the demo-slave node gettint the message: *Waiting for next available executor on demo-slave* *After*, You can release it setting the value to 'Take any job' |
Description |
job-restrictions-plugin does not support Pipeline Plugin (aka Workflow plugin) and it's behavior is not as expected. Steps to reproduce it: Create a job using Pipeline Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin) Create a slave in your master called for example 'demo-slave'. In your Groovy script using pipeline do: node('master') { } node('demo-slave') { } After in 'demo-slave' configuration, restrict it: !Captura.PNG|thumbnail! No matter if start your job with 'daniel_hernandez' user or other user, the job will not get a executor from the demo-slave node gettint the message: *Waiting for next available executor on demo-slave* *After*, You can release it setting the value to 'Take any job' |
job-restrictions-plugin does not support Pipeline Plugin (aka Workflow plugin) and it's behavior is not as expected. Steps to reproduce it: Create a job using Pipeline Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Plugin) Create a slave in your master called for example 'demo-slave'. In your Groovy script using pipeline do: node('master') { } node('demo-slave') { } After in 'demo-slave' configuration, restrict it: !Captura.PNG|thumbnail! No matter if you start your job with 'daniel_hernandez' user or other user, the job will not get a executor from the demo-slave node getting the message: *Waiting for next available executor on demo-slave* *After*, You can release it setting the value to 'Take any job' |
Link |
This issue is blocked by |
Link |
This issue is blocked by |
Link |
This issue is related to |
Component/s | workflow-plugin [ 18820 ] |
Workflow | JNJira [ 170479 ] | JNJira + In-Review [ 183917 ] |
Component/s | pipeline-general [ 21692 ] |
Component/s | workflow-plugin [ 18820 ] |
Component/s | pipeline [ 21692 ] |
Labels | pipeline |
Summary | job-restrictions does not support Pipeline Plugin | job-restrictions Job Property does not support Pipeline Plugin |
Attachment | job-restrictions.hpi [ 40128 ] |
Attachment | screenshot-1.png [ 40157 ] |
Attachment | job-restrictions.hpi [ 40128 ] |
Attachment | job-restrictions.hpi [ 40172 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Oleg Nenashev [ oleg_nenashev ] | Mansoor Saqib [ mansoor ] |
Could you please describe your use-case?
Or just attach the data from the private e-mail you've sent