Rundeck [passing parameters between jobs]

I have a job that calls another rundeck job, I want to pass parameters between jobs. I can only pass parameters from 1st job to 2nd job, I want the results (output) of 1st job to be passed to the second job as an argument.

Example: 1st job number. set -x; sql_file = / applications / $ ENV / test $ {BuildNumber} .sql; echo $ sql_file

I want to call the second job and pass the sql_file location as a variable

I can reference the second job and give the parameters of the 1st job as an argument, I can't find a way to give the result of the 1st job as the argument of the 2nd job.

+3


source to share


1 answer


Rundeck 2.9 will support this ability. It's not released yet, but you can try the beta here http://rundeck.org/news/2017/06/20/rundeck-2.9.0-beta1.html



0


source







All Articles