Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JIRA_KEY=$(curl --request GET "http://jenkins-server/job/myProject/job/mySubProject/job/myComponent/${BUILD_NUMBER}/api/xml?xpath=/*/changeSet/item/comment" | sed -e "s/<comment>(.*)</comment>/1/")
- JIRA_KEY=$(echo $JIRA_KEY | cut -c10-17)
- <freeStyleBuild _class="hudson.model.FreeStyleBuild">
- <changeSet _class="hudson.plugins.git.GitChangeSetList">
- <item _class="hudson.plugins.git.GitChangeSet">
- <comment>
- JRA-1011 This is commit
- message.
- </comment>
- </item>
- </changeSet>
- </freeStyleBuild>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement