Synchronization of Git to Code Pipeline


Comparing the code of the two pipeline scripts reveals a lot of similarities and code repetitions. Alternatively, one might consider creating one single script that contains all steps and - based on the situation - executes only those steps that are required at the specific stage.

This is a strategy that has been used for the Git to Code Pipeline synchronization scenario. As a result, there is one script (Git_MainframeCode_Pipeline.groovy) executing different steps based on the branch of the underlying application it is executing for.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*