-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use 'rd run' with a job option starting with '@' #186
Comments
Further, as mentioned here, the option doesn't enable debug mode when setting [edit] duh, this is posted on the wrong issue! |
some ideas for fixing this:
|
personally i would go for 3., because it is the most canonical, but i realise that's a breaking change. I feel 2 is better than 1 because then you end up with 'what about an option that starts with a \@' and '\\@' etc. sort of fiddliness to implement. I'm cool with any way to do it that works :) |
Ok I think I will go with 2 (avoiding breakage) |
Thanks! |
Describe the bug
rd run
uses a special syntax for file attachments@something
. This prevents using string options which start with@
, like perforce labels.My Rundeck detail
To Reproduce
Steps to reproduce the behavior:
rd run -p PROJECT -j JOB -- -Label @now
Expected behavior
The job option should be set to the value '@now'
Actual behaviour
rd run fails with:
Additional context
Perforce labels are identified as @labelname, @now meaning the head revision.
Workaround
As mentioned on rundeck/rundeck#3590, the workaround is to
export RD_URL=http://server:port/api/17
. Confirmed this works.The text was updated successfully, but these errors were encountered: