Skip to content
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.nodefilter} variable for passing Node filter to Job Reference #2095

Closed
ltamaster opened this issue Oct 3, 2016 · 6 comments
Closed

Comments

@ltamaster
Copy link
Contributor

It could be very useful to have a job's context variable like ${job.nodefilter} in order to pass the node filter of a "overall" job to Jobs References Steps.

An user case example:

Job A => the overall Job
Job B is a step of Job A
Job C is a step of Job B
I would like to pass the node filter from Job A to Job B and Job C

For example passing the node filter to the Job References like:

screenshot from 2016-10-03 16-29-50

@puremourning
Copy link
Contributor

Isn't it simpler to just to ${node.name}. Or am I missing something?

@pgressa
Copy link
Contributor

pgressa commented Oct 4, 2016

Imho this is very similar to #2074

@gschueler
Copy link
Member

@pgressa yes it is similar. I think adding ${job.nodefilter} will be a simple way to solve part of the problem. Your request to have a way to create subset of the filter is also useful

@steveblackmon
Copy link

steveblackmon commented Aug 10, 2017

+1. Propagating a node filter across all of the job references called is an obviously useful behavior that seems to still be lacking.

@Slm0n87
Copy link

Slm0n87 commented Sep 6, 2017

+1 - specially for more complex worflows that feature would make the node-definition easier by inheriting the nodefilter.

@ltamaster
Copy link
Contributor Author

This was added on 2.10.2
#2974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants