pepper
pepper copied to clipboard
Make pepper have different exit code if something failed during the state
If i have a failing scenario, pepper report '0' after it's done. I would like to have the option to change exitcode if all states doesn't return true, so i can integrate this in my CI environment.
Are you talking about with the pepper commandline too or with the libpepper python api?
Thanks, Daniel
Ok, after looking, we were only recently able to get the exit code back from salt, once the full_return variable was added to localclient.
I will look at implementing this.
Thanks! Daniel
Just to clarify, i was talking about the cli tool pepper. How far into the future do you plan for this feature? I would really much like it for our CI/CD