jenkins-cli
jenkins-cli copied to clipboard
Hook comand shouldn't always executes even there's error exists
Describe the bug Part of my config is below.
postHooks:
- path: plugin.upload
cmd: jcli center watch --util-install-complete
- path: plugin.upload
cmd: jcli restart -b
The command should stop if one of the preHooks is failed.
To Reproduce Steps to reproduce the behavior:
- Add the sample which I given into you config file
- Execute command
jcli upload
under a plugin project source directory - See the result
Expected behavior The command should not be executed once if there's some thing wrong.
Screenshots None.
Desktop (please complete the following information):
- OS: MacOS
- Version: dev-v0.0.19
Additional context None.
I will be working on this
@waveywaves Great! I'm going to assign this to you. And thanks for your enthusiasm.
Hi @waveywaves , just a kind reminder. Are you still interested in this?
Yes, I have started working on it.
Great, take it easy. I'm looking forward to it.
hi @waveywaves , how is it going? Do you need help from me?