Open Apelsin opened 5 years ago
Jenkins pipeline build instruction with a single call to docker-push-ssh
sh 'docker-push-ssh -i /***/***/***/jenkins/.ssh/id_rsa deploy@kolorskemo.com kolorskemo-client:master kolorskemo-server:master'
...and the build output for that...
[Pipeline] sh
[kolorskemo-master] Running shell script
+ docker-push-ssh -i /***/***/***/jenkins/.ssh/id_rsa deploy@kolorskemo.com kolorskemo-client:master kolorskemo-server:master # this command hangs
From the pipeline build
...should not take more than like 20 seconds but ends up hanging indefinitely. 5 minutes later...
The issue likely has something to do with how the containers are created and destroyed here: https://github.com/alfa-bravo/docker-push-ssh/blob/2eca1ca077cceb64a912dc7b9f4f1619d75779c1/docker_push_ssh/cli.py
Issue is produced by
or by
and the related Jenkins pipeline script instructions that includes those commands has