# Jenkins: Capitulo 4. Topico 4.4 Erro na build Artifactory

**URL:** <https://forum.casadocodigo.com.br/t/jenkins-capitulo-4-topico-4-4-erro-na-build-artifactory/451>\
**Category:** Livros\
**Tags:** jenkins\
**Created:** [Fevereiro 27, 2017, 4:37am UTC](https://forum.casadocodigo.com.br/t/jenkins-capitulo-4-topico-4-4-erro-na-build-artifactory/451 "2017-02-27T04:37:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcianci](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@mcianci](https://forum.casadocodigo.com.br/u/mcianci)\
**Post date:** [Fevereiro 27, 2017, 4:37am UTC](https://forum.casadocodigo.com.br/t/jenkins-capitulo-4-topico-4-4-erro-na-build-artifactory/451/1 "2017-02-27T04:37:18Z")

</div>

Estou com dificuldades ao publicar pacote no artifactory, apresenta o seguinte erro.

[ERROR] Unknown lifecycle phase “Tests”. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -\> [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/LifecyclePhaseNotFoundException](http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException)  
[JENKINS] Archiving /var/lib/jenkins/workspace/minhasmoedas-artifactory/pom.xml to com.boaglio/minhas-moedas/1.0.0/minhas-moedas-1.0.0.pom  
channel stopped  
Finished: FAILURE
