-
Notifications
You must be signed in to change notification settings - Fork 97
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
Helper miss method make job go fail #66
Comments
Hi @Cheava , Yeah, you can't merge the entire OUT to the existing pipeline config. Sorry for such mistake - it was not added to the documentation. The method
Means you have to put data to specific The MPLConfig object denies to use config object for iteration - you have to know the first key you need. After that first key will return you dict/array/value or null - which you will be able to use further in your logic. Otherwise the logic in your pipeline will miss the important information - what exactly you doing there. Also I think I will add some documentation about that and some checks to tell what's exactly wrong. |
About the second part - when the |
Removing of the |
Thank you for the answer. I will try the usage you mentioned later. The code I write like below
|
I just try the code 'MPLPipelineConfigMerge(MPLModule().key)' as below:
According to the echo log, CFG.project is 'null' . |
Hi @Cheava Right, it will be null, because only the value of |
Yeah, I have tried the way you said, It works. |
When I want to use Module's OUT to add param in CFG, like below,
jenkins's job go failure, the error message is attached below
I have view the source code, this error is caused by this line.
https://github.com/griddynamics/mpl/blame/master/src/com/griddynamics/devops/mpl/MPLConfig.groovy#L89
The missing method was remove on this #46 .
Because the method is missing, I have to uncomment the " Helper.configEntrySet(this.@config) ".
Finally, the job run well . But CFG seems no change after merging with OUT.
Can you have a look on this code?
And could you tell why CFG seems no change after merging with OUT?
The text was updated successfully, but these errors were encountered: