New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job Reference: Use referenced job's nodes option not working #9038
Labels
Comments
Reproduced. Parent Job (ProjectA): - defaultTab: nodes
description: ''
executionEnabled: true
id: 3319cc16-ef99-4c0f-ac0f-6108ad2afb36
loglevel: INFO
name: parent
nodeFilterEditable: false
nodefilters:
dispatch:
excludePrecedence: true
keepgoing: false
rankOrder: ascending
successOnEmptyNodeFilter: false
threadcount: '1'
filter: node02
nodesSelectedByDefault: true
plugins:
ExecutionLifecycle: null
scheduleEnabled: true
sequence:
commands:
- jobref:
group: ''
name: child
nodeStep: 'true'
project: ProjectB
uuid: caec8559-5bb5-4c85-9c43-b77528b4a4ca
keepgoing: false
strategy: node-first
uuid: 3319cc16-ef99-4c0f-ac0f-6108ad2afb36
Child Job (Project B): - defaultTab: nodes
description: ''
executionEnabled: true
id: caec8559-5bb5-4c85-9c43-b77528b4a4ca
loglevel: INFO
name: child
nodeFilterEditable: false
nodefilters:
dispatch:
excludePrecedence: true
keepgoing: false
rankOrder: ascending
successOnEmptyNodeFilter: false
threadcount: '1'
filter: localhost
nodesSelectedByDefault: true
plugins:
ExecutionLifecycle: null
scheduleEnabled: true
sequence:
commands:
- exec: whoami
keepgoing: false
strategy: node-first
uuid: caec8559-5bb5-4c85-9c43-b77528b4a4ca
Following this: Use referenced job's nodes. If the referenced job is from another project, you can use referenced job node list instead of the parent's nodes. Doesn't work. The "Use referenced job's nodes" checkbox operates on the child-defined nodes (which is ok). However, disabling this results in the same outcome (runs on the child job specified nodes). Thanks @etaormm. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
So, when adding a Node or Workflow step and using a Job Reference, there is an option "Use referenced job's nodes"
What ever you select (tick or no tick) it will still use the nodes from the child/referenced job, not from the Parent/Main job where I'm defining this configuration.
My Rundeck detail
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If I tick on Use referenced job's nodes , it should use that Child job nodes.
If i un-tick Use referenced job's nodes, it should use Parent job nodes.
Screenshots
Desktop (please complete the following information):
Additional:
If this is a expected behavior, please tell me how can I reference multiple jobs from one "main" job, but I want those referenced jobs to use nodes defined in Parent job.
The text was updated successfully, but these errors were encountered: