passing option value into rd command

7 views
Skip to first unread message

Bartosz Kowalewski

unread,
Jul 17, 2025, 4:50:49 AMJul 17
to rundeck...@googlegroups.com
Hello.

I have some script which should run test-job in test-project on test-node

this will normally run something like that:

rd run --job 'test-job' --project 'test-project' --filter 'name:test-node' 

but I have option added called: activation-ID

how I can add this option with value "test123" to the command ?

Thanks

Bart

rac...@rundeck.com

unread,
Jul 17, 2025, 11:32:47 AMJul 17
to rundeck-discuss

Hi, please take a look at this.

You can define a job with the option in the filter, and then run the job by defining the option value like:

rd run -j HelloWorld -p ProjectEXAMPLE -- -remoteopt test123

Regards.

Reply all
Reply to author
Forward
0 new messages