Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14781

Maven Release Plugin performs build without goals

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • m2release-plugin
    • None

      Steps:

      1. Perform maven release plugin
      2. Specify SCM Credentials with " in password
      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.

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

          jsirex created issue -
          jsirex made changes -
          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.
          Michael Rumpf made changes -
          Link New: This issue is duplicated by JENKINS-17233 [ JENKINS-17233 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145482 ] New: JNJira + In-Review [ 176358 ]
          Michael Grafl made changes -
          Link New: This issue is duplicated by JENKINS-15871 [ JENKINS-15871 ]
          Michael Grafl made changes -
          Link New: This issue is duplicated by JENKINS-28042 [ JENKINS-28042 ]
          Jesse Glick made changes -
          Link New: This issue relates to SECURITY-347 [ SECURITY-347 ]
          James Nord made changes -
          Assignee Original: James Nord [ teilo ]

            Unassigned Unassigned
            jsirex jsirex
            Votes:
            8 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: