Thank You.
I changed the ta version as you mentioned, entered "list" in goals field and ran build. It failed.
Then I left the field empty and ran the build again. This time it displayed downloading newer version of framework and test executed successfully in jenkins.
Then I went to Configure again, entered list in goals field and it failed again.
Code : Tout sélectionner
Started by user TM Agent
[EnvInject] - Loading node environment variables.
Building in workspace C:\SquashAndTMs\squashta\execution_home\workspace\BrowserTest
Parsing POMs
Established TCP socket on 50321
[BrowserTest] $ "C:\Program Files\Java\jdk1.8.0_211/bin/java" -Xms512m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=512m -cp C:\SquashAndTMs\squashta\execution_home\plugins\maven-plugin\WEB-INF\lib\maven35-agent-1.12-alpha-1.jar;C:\SquashAndTMs\squashta\apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar;C:\SquashAndTMs\squashta\apache-maven-3.5.0/conf/logging jenkins.maven3.agent.Maven35Main C:\SquashAndTMs\squashta\apache-maven-3.5.0 C:\SquashAndTMs\squashta\apache-tomcat-8.5.16\webapps\jenkins\WEB-INF\lib\remoting-3.14.jar C:\SquashAndTMs\squashta\execution_home\plugins\maven-plugin\WEB-INF\lib\maven35-interceptor-1.12-alpha-1.jar C:\SquashAndTMs\squashta\execution_home\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.12-alpha-1.jar 50321
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven: -B -f C:\SquashAndTMs\squashta\execution_home\workspace\BrowserTest\pom.xml list
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building my.sqaush.ta.project 1.0
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.625 s
[INFO] Finished at: 2019-07-24T15:30:04Z
[INFO] Final Memory: 14M/491M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "list". 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
[JENKINS] Archiving C:\SquashAndTMs\squashta\execution_home\workspace\BrowserTest\pom.xml to org.suashtest.tutorial2/my.sqaush.ta.project/1.0/my.sqaush.ta.project-1.0.pom
channel stopped
Finished: FAILURE
Following are my screenshot of jenkins project settings: