Using the promote builds plugin to tag subversion repository.
309 views
Skip to first unread message
Mark Kharitonov
unread,
May 30, 2011, 3:59:55 AM5/30/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
We have a task which builds based on data from 4 different SVN
repositories.
I want to allow QA promote a build, so that the revisions
participating in the build are tagged with the build number and some
optional label.
I have encountered the following problem - the promoted build may not
be the most recent build. How do I know the SVN revision of each of
the four repositories used during that build? I know that each build
has this information in the revision.txt file, but how does it become
available in the context of promotion?
Thanks.
Mark Kharitonov
unread,
May 31, 2011, 10:35:31 AM5/31/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
Anyone?
Pete
unread,
May 31, 2011, 9:26:57 PM5/31/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
I do not see any code to pass through the SVN revision as a variable available to the promotion actions. Maybe you could leverage the PROMOTED_URL variable to call a remote API of the build to acquire the SVN revision? I haven't tried this myself.
mark Kharitonov
unread,
Jun 23, 2011, 3:16:18 AM6/23/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Here is the value of PROMOTED_URL - http://dev-builder:8080/jenkins/job/Test/1/ Do you mean I should GET it and extract the revision information from the HTML output? There must be a better way.
dreamtime
unread,
Jun 27, 2011, 7:15:15 AM6/27/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message