devonfw / hangar

devonfw Hangar and Takeoff
Apache License 2.0
6 stars 25 forks source link

parametrize previous pipeline name (specially for deploy) #526

Closed mtarnove closed 1 year ago

mtarnove commented 1 year ago

In the cfg file of the pipeline we have a variable called previous-pipelineyaml (not sure of the syntax), and we use that value in the function addTrigger of the pipepline generator, in that funciton we have a case and we add or remove substitution variable depending on that.

TO-DO:

1- use the flags already existing of build-pipeline-name, test-pipeline-name etc... to get the variable previous-pipeline-name 2 - in the function addTrigger, make the definition of subsitution dynamic, not use a case