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

Release options ignored later on the build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • release-plugin
    • None
    • Windows 7 Server

      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.

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

              Created:
              Updated: