ssh-action: `script_stop = true` - does not stop script after first failure
Hi,
We have a step in our deployment pipeline that needs to be stopped right away on failure. I saw there’s a script_stop
option so I’m following the Stop script after first failure example and I applied it on my test pipeline but it doesn’t seem to work - the step still runs after failing and pipeline has been running for an hour now. Could you please help me resolve this? I’m using this appleboy/ssh-action@v0.1.8
. Thanks so much!
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (10 by maintainers)
Commits related to this issue
- feat: refactor code for parallel execution on multiple hosts (#249) - Add `trimValues` function for cleaning up slice values - Remove unused `wg.Done()` call - Modify `Exec` function to launch goro... — committed to appleboy/drone-ssh by appleboy a year ago
- feat: refactor code for parallel execution on multiple hosts (#237) - Update Dockerfile to use a newer version of `drone-ssh` - Modify `ci.yml` to use `continue-on-error` instead of commenting out c... — committed to appleboy/ssh-action by appleboy a year ago
@jpdoria Please help to try the following version.
@jpdoria I can reproduce the problem. I will take it.
Sweet! Thanks so much, @appleboy! Really appreciate it! 🙌🏻
Bump new version v0.1.9
@jpdoria
You got the same problem as above?
@jpdoria let me try it.
I will take it.