prompt user for information before running job #2274

Closed
aristosv opened this Issue Jan 12, 2017 · 3 comments

Projects

None yet

3 participants

@aristosv

I want to set up a rundeck job, to modify a URL in a file. I need a way for the user to be able to input the url before executing the job. This is how I'm doing it now, through the terminal. But I need a way through rundeck for the user to be able to define the www.new-url.com

sed -i "s/www.old-url.com/www.new-url.com/g" /home/user/url.sh

@jamieps
Contributor
jamieps commented Jan 12, 2017 edited

@aristosv see: http://rundeck.org/docs/manual/jobs.html#job-options; the rundeck-discuss group is a better place for questions like this: https://groups.google.com/forum/#!forum/rundeck-discuss

@aristosv

ok I'm having some trouble with this, because I want to force the user to enter a URL, and I can only force the user by defining Allowed Values or by Matching Regular Expression. This limits the user from entering any URL they want. Any workarounds for this?

@gschueler
Contributor

@aristosv make the option required if you do not want to restrict the value, but want to require it to be entered.

closing, this is not an issue. please post on the rundeck-discuss list for usage questions

@gschueler gschueler closed this Jan 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment