Quantcast

[JIRA] (JENKINS-14781) Maven Release Plugin performs build without goals

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14781) Maven Release Plugin performs build without goals

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: teilo
Components: m2release
Created: 14/Aug/12 7:55 AM
Description:

I have jenkins master installed on Windows. Browser is chrome (sometimes reproduced in firefox too).
Steps:

  1. Perform maven release plugin
  2. Specify SCM Credentials (mvn release fails without it)
  3. 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.

Note: On Linux with Icewasel (firefox) 10.0.6 all works fine.

It's very strange odd for me.

Project: Jenkins
Priority: Critical Critical
Reporter: jsirex
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14781) Maven Release Plugin performs build without goals

JIRA noreply@jenkins-ci.org
jsirex commented on Bug JENKINS-14781

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".

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14781) Maven Release Plugin performs build without goals

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
jsirex edited a comment on Bug JENKINS-14781

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".

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14781) Maven Release Plugin performs build without goals

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
teilo commented on Bug JENKINS-14781

just to confirm
when you say it works on Linux with Iceweasel - is it still talking to the jenkins master running on windows and are you still using a password with a " symbol in it?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14781) Maven Release Plugin performs build without goals

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
jsirex commented on Bug JENKINS-14781

I've recently figured out why it fails. Checked on Linux - failed to.
Sorry, my fault. I'll update issue description.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14781) Maven Release Plugin performs build without goals

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: jsirex (15/Nov/12 7:09 AM)
Description: 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)  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.

Note: On Linux with Icewasel (firefox) 10.0.6 all works fine.

It's very strange odd for me.


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...