This repository has been archived by the owner on Apr 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Close docker containers when Jenkins pipeline is killed #27
Comments
Hm, interesting. So "Pipeline is killed" is when you forcefully stops the job or is there an error happening? |
When you stop a job via the UI. I think some combination of |
Ah, ok, I understand. So when you stop a pipeline, the docker container continuous to run, when it should be stopped together with the pipeline. Probably there is some hook in the Jenkinsfile we can use, |
Yeah, something like that. There is docker workflow plugin which might help. |
Resolved by the docker workflow plugin. If you want to take a look how it works with more complex pipeline see go-ipfs Jenkinsfile. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Acceptance Criteria
Tasks
Notes
Original post from @Kubuxu
The text was updated successfully, but these errors were encountered: