-
Notifications
You must be signed in to change notification settings - Fork 143
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
Missing sortBuildMap function for language script zCEE2 #465
Conversation
Signed-off-by: Mathieu Dalbin <[email protected]>
utilities/BuildUtilities.groovy
Outdated
/* | ||
* sortBuildMap - sorts a build Map by rank property values | ||
*/ | ||
def sortBuildMap(HashMap<String, String> buildMap, String rankPropertyName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we call this sortBuildListMap
?
Build Map is a reserved term, and might be confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, did the changes accordingly.
Signed-off-by: Mathieu Dalbin <[email protected]>
Signed-off-by: Mathieu Dalbin <[email protected]>
languages/zCEE2.groovy
Outdated
@@ -123,11 +123,14 @@ sortedList.each { buildFile, inputType -> | |||
StringBuffer shellError = new StringBuffer() | |||
|
|||
String JAVA_HOME = props.getFileProperty('zcee2_JAVA_HOME', buildFile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@M-DLB .
Can we probably use javaHome
as a variable name, instead of the environment variable name?
Signed-off-by: Mathieu Dalbin <[email protected]>
Fixing the z/OS Connect EE 2 processing, where the sortBuildMap() function is used but is missing from the BuildUtilities.groovy script.