Unanswered
Hello Everyone! I'M Trying To Use Arguments With The Pipeline But Can Not Make It Work. My Case Is
TimelyMouse69 the main problem is the arguments here is the code snippetpipeline = PipelineController( name="Awesome Pipeline") pipeline.add_parameter( "docker_image", default="DEFAULT_DOCKER")
And the I have functional step, where I want to use the argumentpipeline.add_function_step(name="best_step", docker="${pipeline.docker_image}"
And also I triedparameters = pipeline.get_parameters() pipeline.add_function_step(name="best_step", docker=parameters["docker_image"])
But when I execute this in the first case it passes string literal ${pipeline.docker_image}
and on the second version always default value.
175 Views
0
Answers
2 years ago
one year ago