jenkinsci / jenkinsci/release-plugin
[JENKINS-47411] Release options ignored later on the build
- Dominant language
- Java
- Stars
- 24
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
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.
---
Originally reported by
javydreamercsw, imported from: Release options ignored later on the build
Raw content of original issue
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.
- environment:
Windows 7 Server
Contributor guide
Assessment
This issue has not been assessed yet.