Reputation: 2589
Similar to accessing job options like:
#!/bin/bash
[email protected]_var@
is there a way to access general job execution properties?
Specifically, I am deploying a docker container and would like to leverage the execution number to inject a link back to the rundeck job execution that was responsible for deploying said container
Upvotes: 0
Views: 826
Reputation: 4380
For that use
echo @job.execid@
You can see all options putting @job. in the inline script and Rundeck shows you all the options (autocomplete).
Upvotes: 1