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

Maven Release Plugin performs build without goals

XMLWordPrintable

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

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

              Created:
              Updated: