本文主要是介绍Jenkins自动部署:错误代码{{1008}},希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
部署错误记录与分析:目标配置不正确导致
WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] chinasofti-uums [INFO] chinasofti-uums-app [INFO] chinasofti-uums-web Maven Webapp [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building chinasofti-uums 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] chinasofti-uums ................................... FAILURE [0.145s] [INFO] chinasofti-uums-app ............................... SKIPPED [INFO] chinasofti-uums-web Maven Webapp .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.349s [INFO] Finished at: Sat May 12 18:03:51 CST 2018 [INFO] Final Memory: 4M/29M [INFO] ------------------------------------------------------------------------ [ERROR] Unknown lifecycle phase "/pom.xml". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. 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 Build step 'Invoke top-level Maven targets' marked build as failure Finished: FAILURE
方案:
这篇关于Jenkins自动部署:错误代码{{1008}}的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!