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

Erro no deploy

Ao tentar realizar o deploy o console me retorna essa exception.

ERROR: Step ‘Deploy war/ear to a container’ aborted due to exception: 
java.io.IOException: Expecting Ant GLOB pattern, but saw 'C:\Users\hugo\.jenkins\workspace\argentum-web\target/argentum-web.war'. See http://ant.apache.org/manual/Types/fileset.html for syntax
2 respostas

Tentei colocar o caminho */.war no campo war/ear e também não deu certo. Retornou esse erro aí.

Deploying C:\Users\hugo\.jenkins\workspace\argentum-web\target\argentum-web.war to container Tomcat 7.x Remote with context argentum-web
ERROR: Build step failed with exception
solução!

Resolvi removendo o comentário do xml tomcat.users e colocando o caminho */.war campo war/ear. Obrigado StackOverflow = https://stackoverflow.com/questions/45364782/error-while-deploying-war-in-jenkins

[INFO] Building war: C:\Users\hugo\.jenkins\workspace\argentum-web\target\argentum-web.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.737 s
[INFO] Finished at: 2018-10-06T10:30:02-03:00
[INFO] ------------------------------------------------------------------------
Deploying C:\Users\hugo\.jenkins\workspace\argentum-web\target\argentum-web.war to container Tomcat 7.x Remote with context argentum-web
  Redeploying [C:\Users\hugo\.jenkins\workspace\argentum-web\target\argentum-web.war]
  Undeploying [C:\Users\hugo\.jenkins\workspace\argentum-web\target\argentum-web.war]
  Deploying [C:\Users\hugo\.jenkins\workspace\argentum-web\target\argentum-web.war]
Finished: SUCCESS