jenkinsci / jenkinsci/release-plugin
[JENKINS-41620] Release plugin not passing parameters to ant.bat file
- Dominant language
- Java
- Stars
- 24
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
Hi.
Ive created a new Jenkins Build and am now trying to automate the release of a project with the release plugin. I have set up previous jenkins build before with no problem, but using an ant.bat file this time. On trying to release I've noticed that -D options arent passed in even though they are configured properly (i think)
When running the command on the command line and passing in the -D options i need it works perfect, however i need this to be done automatically. Am i missing something?
Thanks,
Ciaran
---
Originally reported by cduncan, imported from: Release plugin not passing parameters to ant.bat file
petehayes
Raw content of original issue
Hi.
Ive created a new Jenkins Build and am now trying to automate the release of a project with the release plugin. I have set up previous jenkins build before with no problem, but using an ant.bat file this time. On trying to release I've noticed that -D options arent passed in even though they are configured properly (i think)
When running the command on the command line and passing in the -D options i need it works perfect, however i need this to be done automatically. Am i missing something?
Thanks,
Ciaran
Contributor guide
Research direction
Start in the release-plugin entry point that invokes ant.bat and reproduce a release using configured -D options. Trace how those parameters are collected and passed to the Windows Ant command; done means the configured options reach ant.bat as they do when the command is run manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100