Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Meu codigo esta com o seguinte erro:

Started by user Administrador Jenkins Running as SYSTEM Building in workspace /home/wilsonqueiroz/.jenkins/workspace/argentum-web No credentials specified

git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git config remote.origin.url https://github.com/alura-cursos/argentum-web.git # timeout=10 Fetching upstream changes from https://github.com/alura-cursos/argentum-web.git git --version # timeout=10 git fetch --tags --force --progress https://github.com/alura-cursos/argentum-web.git +refs/heads/:refs/remotes/origin/ git rev-parse refs/remotes/origin/master^{commit} # timeout=10 git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 56b8432c7a4dfc708de0969be3d354f15e3607cf (refs/remotes/origin/master) git config core.sparsecheckout # timeout=10 git checkout -f 56b8432c7a4dfc708de0969be3d354f15e3607cf Commit message: "WS de negociações utilizado no curso" First time build. Skipping changelog. [argentum-web] $ /usr/share/maven/bin/mvn clean package The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE Build step 'Invoke top-level Maven targets' marked build as failure Finished: FAILURE

1 resposta
solução!

Aos 2:42 do vídeo é mostrado como configurar os goals do maven... o detalhe é que o campo Versão do Maven deve ser configurado também.

Seleciona Maven Default que foi configurado nas aulas anteriores ee irá funcionar :)

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software