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

Bind worklfow with variables anytime #3203

Closed
wants to merge 1 commit into from

Conversation

MaelAudren
Copy link
Contributor

@MaelAudren MaelAudren commented Apr 30, 2018

Solves the issue #3198

@MaelAudren MaelAudren changed the title enables to bind worklfow with variables anytime Bind worklfow with variables anytime Apr 30, 2018
@@ -389,6 +389,9 @@ public JobType getType() {
}
}

//replace variables
commonPropertiesHolder.getVariables().putAll(replaceVariablesInJobVariablesMap(commonPropertiesHolder.getVariables(),replacementVariables));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a bit hard to read. In the same line you 'putAll', and also replace something.
I do not know what you can change.. but maybe you know.
Thanks

@@ -468,12 +471,11 @@ private void handleCancelJobOnErrorAttribute(CommonAttribute commonPropertiesHol
* Leave the method with the cursor at the end of 'ELEMENT_VARIABLES' tag
*
* @param cursorVariables the streamReader with the cursor on the 'ELEMENT_VARIABLES' tag.
* @param replacementVariables variables which have precedence over the one defined in the job
//* @param replacementVariables variables which have precedence over the one defined in the job
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need two slashes?

@paraita
Copy link
Contributor

paraita commented Jun 20, 2018

I'm closing this PR (duplicate of #3205)

@paraita paraita closed this Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants