Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Erro Build

Boa tarde, estou com esse impedimento.

Iniciado pelo usuário FELIPE ESTEVAM Running as SYSTEM Construindo no workspace C:\Users\Felipe.jenkins\workspace\leilao-testes The recommended git tool is: NONE No credentials specified

git.exe rev-parse --resolve-git-dir C:\Users\Felipe.jenkins\workspace\leilao-testes.git # timeout=10 Fetching changes from the remote Git repository git.exe config remote.origin.url https://github.com/FelipeEstevam/Jenkins.git # timeout=10 Fetching upstream changes from https://github.com/FelipeEstevam/Jenkins.git git.exe --version # timeout=10 git --version # 'git version 2.33.0.windows.2' git.exe fetch --tags --force --progress -- https://github.com/FelipeEstevam/Jenkins.git +refs/heads/:refs/remotes/origin/ # timeout=10 git.exe rev-parse "refs/remotes/origin/main^{commit}" # timeout=10 Checking out Revision 3208518745f0c8cd7d2026769db95d1af7a8f97a (refs/remotes/origin/main) git.exe config core.sparsecheckout # timeout=10 git.exe checkout -f 3208518745f0c8cd7d2026769db95d1af7a8f97a # timeout=10 Commit message: "Alterando nome da pasta" git.exe rev-list --no-walk 3208518745f0c8cd7d2026769db95d1af7a8f97a # timeout=10 [leilao-testes] $ cmd.exe /C "mvn clean test && exit %%ERRORLEVEL%%" [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.073 s [INFO] Finished at: 2022-02-24T13:21:35-03:00 [INFO] ------------------------------------------------------------------------ [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\Felipe.jenkins\workspace\leilao-testes). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException Build step 'Chamar alvos Maven de alto nível' marked build as failure Finished: FAILURE

2 respostas
solução!

Oi Felipe,

Altera o seu repositório git nas configurações do jenkins para a URL sem HTTPS: http://github.com/FelipeEstevam/Jenkins.git

Obrigado Rodrigo!!!