-
Bug
-
Resolution: Unresolved
-
Critical
-
None
Steps:
- Perform maven release plugin
- Specify SCM Credentials with " in password
- Schedule maven release
Results:
In logs I see:
Executing Maven: -B -f c:\opt\Jenkins\jobs\project-ci\workspace\pom.xml -DdevelopmentVersion=4.4.005-SNAPSHOT -DreleaseVersion=4.4.004 -Dusername=user -Dpassword=********* .... No goals have been specified for this build. You must specify a valid lifecycle phase or a goal
Build fails.
Expected results:
Release goals are passed in maven during release.
- is duplicated by
-
JENKINS-28042 Erro when commit using plugin maven scm
-
- Open
-
-
JENKINS-15871 Maven Release Plugin doesn't properly escape user's passwords during release
-
- Resolved
-
-
JENKINS-17233 Maven release fails when password contains space
-
- Closed
-
[JENKINS-14781] Maven Release Plugin performs build without goals
Description |
Original:
I have jenkins master installed on Windows. Browser is chrome (sometimes reproduced in firefox too). Steps: # Perform maven release plugin # Specify SCM Credentials (mvn release fails without it) # Schedule maven release Results: In logs I see: {code}Executing Maven: -B -f c:\opt\Jenkins\jobs\project-ci\workspace\pom.xml -DdevelopmentVersion=4.4.005-SNAPSHOT -DreleaseVersion=4.4.004 -Dusername=user -Dpassword=********* .... No goals have been specified for this build. You must specify a valid lifecycle phase or a goal{code} Build fails. Expected results: Release goals are passed in maven during release. Note: On Linux with Icewasel (firefox) 10.0.6 all works fine. It's very strange odd for me. |
New:
Steps: # Perform maven release plugin # Specify SCM Credentials with " in password # Schedule maven release Results: In logs I see: {code}Executing Maven: -B -f c:\opt\Jenkins\jobs\project-ci\workspace\pom.xml -DdevelopmentVersion=4.4.005-SNAPSHOT -DreleaseVersion=4.4.004 -Dusername=user -Dpassword=********* .... No goals have been specified for this build. You must specify a valid lifecycle phase or a goal{code} Build fails. Expected results: Release goals are passed in maven during release. |
Link |
New:
This issue is duplicated by |
Looks like this issue is releated to SCM Password.
When I perform release build, check "Provide SCM User and Password" and enter an password with " symbol plugin fails.
Also, it will be good point to use Jenkins' stored SCM Login/Password, because if I just press release without specifying SCM credentials it fails with "Authentication Failure".