I've got a job that sets a link in the /report-urls/ property sheet. That link runs a procedure, and I need to pass parameters to that. Here's an example link:
/commander/link/runProcedure/projects/SLIDE/procedures/RollbackPipeline_beanstalk?appName=test-app&deployVersion=28
As you can see, I'm trying to pass two parameters to the procedure: appName and deployVersion. I thought this would work, but when the screen redirects, it shows no values for the parameters.
Is there any way to pass parameters to a procedure via the URL like this?
Answer by dsw88 · Jun 21, 2013 at 02:58 PM
I figured out how to do this. Here is a correct URL that passes parameters, continuing the example from above:
/commander/runProcedure.php?projectName=SLIDE≺ocedureName=RollbackPipeline_beanstalk&runNow=1#Parameters=2&meters1_name=appName&meters1_value=test-app&meters2_name=deployVersion&meters2_value=28
That correctly passes the desired parameters to the procedure.
How can I provide a computed value for a sub-procedure parameter when it is a checkbox? 2 Answers
how to select and delete multiple procedures from a project 1 Answer
Question on Paramters 1 Answer
How do I temporary disable a procedure step ? 1 Answer
Quickly get list of ElectricCommander procedure parameters? 1 Answer
Electric Cloud powers Continuous Delivery, helping organizations developing deliver better software faster by automating and accelerating build, test, and deployment processes at scale. Industry leaders like Qualcomm, SpaceX, Cisco, GE, Gap, and E*TRADE use Electric Cloud solutions to boost DevOps productivity and Agile throughput.