rundeck-cli
rundeck-cli copied to clipboard
SCM import setup error returns 0 exit code
I would expect another exit code when i get an error.
[example@host ~]$ rd projects scm setup -p 'Test' -i import -t git-import -f /tmp/scm-import.json Credentials for URL: http://localhost:4440 Enter password: Setup config Validation for file: /tmp/scm-import.json failed Some input values were not valid. filePattern: Invalid value: Invalid regular expression: Dangling meta character '*' near index 0 *.yaml ^
dir: required
[example@host ~]$ echo $? 0
This clearly fails and yet i get 0 as return value which is weird and seems like a bug.