Boa Tarde,
OBS: Estou na parte da aula que ensina como rodar o projeto automaticamente enviando para o Slack uma mensagem se o usuário autoriza o Build em produção.
Assim que dou o Push no git, o processo inicia normalmente pelo Jenkins.
Job jenkins-todo-list-principal: Tem uma duração de 1 minuto e 25 segundos e finaliza com sucesso.
Job todo-list-desenvolvimento: Já da problema no primeiro segundo de execução.
Segue o Log:
Started by upstream project "jenkins-todo-list-principal" build number 12
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...
not able to provide the file [ManagedFile: id=2ed9697c-45fc-4713-a131-53bdbeea2ae6, targetLocation=null, variable=env], can't be resolved by any provider - maybe it got deleted by an administrator?
[Pipeline] // configFileProvider
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Derrubando o container antigo)
Stage "Derrubando o container antigo" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Subindo o container novo)
Stage "Subindo o container novo" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Notificando o usuario)
Stage "Notificando o usuario" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Fazer o deploy em producao?)
Stage "Fazer o deploy em producao?" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (deploy)
Stage "deploy" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: not able to provide the file [ManagedFile: id=2ed9697c-45fc-4713-a131-53bdbeea2ae6, targetLocation=null, variable=env], can't be resolved by any provider - maybe it got deleted by an administrator?
Finished: FAILURE