Hi all,
I am evaluating Rundeck, and have faced an issue I am not sure how to resolve.
In my workflow, I need to be able to check if a file exists in a certain folder, and if so, run the file and do "other things" in the next workflow steps. I can do everything in bash scripts just fine within the workflow, but I cannot seem to figure out how to make the job exit in a non-error state if my conditional statement at the beginning fails. If a file doesn't exist in the folder it is checking, and I do an "exit 0" in my first workflow step, as expected Rundeck continues on with the next steps in the workflow. If I do an "exit 1", also as expected it stops the job but places it in an error state.
I need to stop the job, but *not* be in an error state. The job did not really fail out, it just didn't have anything to do at the time it was scheduled to run so I don't need to clutter the dashboard with false failure states.
Any ideas?
Thanks!