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

Release options ignored later on the build

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: release-plugin
    • Labels:
      None
    • Environment:
      Windows 7 Server
    • Similar Issues:

      Description

      Using the following goals and options:

      release:prepare release:perform -Dmaven.deploy.skip=true

      Still have the build attempt a deployment.

      See important parts of the output:
      Executing Maven: -B -f D:\.jenkins\workspace\RF20000 Werewolf Manager\pom.xml -DdevelopmentVersion=1.2-SNAPSHOT -DreleaseVersion=1.1 -Dusername=ortizj release:prepare release:perform -Dmaven.deploy.skip=true -Dpassword=*********

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project RF20000-Manager-parent: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]

      It is not configured on purpose but seems the options are not propagated thru all the process.

        Attachments

          Activity

          javydreamercsw javydreamercsw created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Assignee Oleg Nenashev [ oleg_nenashev ]

            People

            • Assignee:
              Unassigned
              Reporter:
              javydreamercsw javydreamercsw
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: