As a developer, when I release new version of my awesome program -from master branch- I would like to have magically update "fix Versions" in all related jira tickets.
- Make sure you have "jq" (https://stedolan.github.io/jq/) installed on your slave
- Make sure you have "updateJiraFixVersions.sh" script on your slave
- Use the code from Jenkinsfile
- Adapt the code -Jenkinsfile and bash script- to your needs. Set jenkins user, jira url, tickets scheme etc.
def version = getVersion().trim();
def tickets = getTickets().trim();
sh "version=${version} tickets=${tickets} updateJiraFixVersions.sh"
Node?