0
respostas

Aula 5 - Erro após aceitar a continuação do deploy pelo Jenkins

Aula 5 - Erro após aceitar a continuação do deploy pelo Jenkins. org.jenkinsci.plugins.workflow.steps.FlowInterruptedException

Started by upstream project "jenkins-todo-list-principal" build number 6
originally caused by:
 Started by an SCM change
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/todo-list-desenvolvimento
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Carregando o ENV de desenvolvimento)
[Pipeline] configFileProvider
provisioning config files...
copy managed file [.env-dev] to file:/var/lib/jenkins/workspace/todo-list-desenvolvimento@tmp/config494322543053587789tmp
[Pipeline] {
[Pipeline] sh
+ cat /var/lib/jenkins/workspace/todo-list-desenvolvimento@tmp/config494322543053587789tmp
[Pipeline] }
Deleting 1 temporary files
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Derrubando o container antigo)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ docker rm -f django-todolist-dev
django-todolist-dev
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Subindo o container novo)
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ docker run -d -p 81:8000 -v /var/run/mysqld/mysqld.sock:/var/run/mysqld/mysqld.sock -v /var/lib/jenkins/workspace/jenkins-todo-list-desenvolvimento/.env:/usr/src/app/to_do/.env --name=django-todolist-dev williammian/django_todolist_image_build:latest
a646753c14cf6c048044061f03cb80fa59f203b696969f9a951d7c325c762e59
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Notificando o usuario)
[Pipeline] slackSend
Slack Send Pipeline step running, values are - baseUrl: <empty>, teamDomain: williammian, channel: #pipeline-todolist, color: good, botUser: false, tokenCredentialId: slack-token, notifyCommitters: false, iconEmoji: <empty>, username: williammian, timestamp: <empty>
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Fazer o deploy em producao?)
[Pipeline] script
[Pipeline] {
[Pipeline] slackSend
Slack Send Pipeline step running, values are - baseUrl: <empty>, teamDomain: williammian, channel: #pipeline-todolist, color: warning, botUser: false, tokenCredentialId: slack-token, notifyCommitters: false, iconEmoji: <empty>, username: williammian, timestamp: <empty>
[Pipeline] timeout
Timeout set to expire in 10 min
[Pipeline] {
[Pipeline] input
Deploy em produção?
Deploy or Abort
Approved by Aluno Alura
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (deploy)
[Pipeline] script
[Pipeline] {
[Pipeline] build (Building todo-list-producao)
Scheduling project: todo-list-producao
Starting building: todo-list-producao #2
[Pipeline] slackSend
Slack Send Pipeline step running, values are - baseUrl: <empty>, teamDomain: williammian, channel: #pipeline-todolist, color: error, botUser: false, tokenCredentialId: slack-token, notifyCommitters: false, iconEmoji: <empty>, username: williammian, timestamp: <empty>
[Pipeline] sh
+ echo org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
org.jenkinsci.plugins.workflow.steps.FlowInterruptedException
[Pipeline] error
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: Erro
Finished: ABORTED