Quando executa a tarefa no Jenkins ele executa o processo, faz os testes e o build mas o script de deploy da erro:
[INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 49.060 s [INFO] Finished at: 2022-11-11T16:36:32-03:00 [INFO] ------------------------------------------------------------------------ [leilao-deploy] $ sh -xe C:\Users\apinto\AppData\Local\Temp\jenkins12332629072470465668.sh
- java -Dspring.profiles.active=prod -jar leilao-0.0.1-SNAPSHOT.jar Error: Unable to access jarfile leilao-0.0.1-SNAPSHOT.jar Build step 'Executar shell' marked build as failure Finished: FAILURE