In SVN if tag contains particular string then jenkins should trigger build

348 views
Skip to first unread message

Varadha Raj

unread,
Mar 28, 2013, 2:35:23 AM3/28/13
to jenkin...@googlegroups.com

If tag contains a particular string then jenkins should start to trigger the build. For example in SVN if particular baseline is given as a tag ended with four zeros "TDM_CCSP_NES_0000" then it should trigger the build. How should i configure this in JENKINS.

Michaël Pailloncy

unread,
Mar 28, 2013, 9:51:59 AM3/28/13
to jenkin...@googlegroups.com

If tag contains a particular string then jenkins should start to trigger the build. For example in SVN if particular baseline is given as a tag ended with four zeros "TDM_CCSP_NES_0000" then it should trigger the build. How should i configure this in JENKINS.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Varadha Raj

unread,
Apr 2, 2013, 3:13:29 AM4/2/13
to jenkin...@googlegroups.com
 Hi Michael

Thanks... But i am not getting while proceed....Will you please tell me with sufficient examples.

Regards
Varadharaja

Michaël Pailloncy

unread,
Apr 2, 2013, 8:38:38 AM4/2/13
to jenkin...@googlegroups.com
You have 2 alternatives : 
1/ Use a post-commit hook to trigger a build (see https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin#SubversionPlugin-Postcommithook) -> I'm sorry, I can't be more precise. This page is very well documented.
2/ Configure your job to poll for changes to a SVN url and trigger a build if the commit matches a specific URL : 
Images intégrées 2

In your case, "/tags/path/to/your/repo/.*0000" or something like this.

This kind of question must be asked in jenkins-users instead of jenkins-dev since it is not linked to the development Jenkins or its plugins.

Hope this can help you.

Michaël Pailloncy



2013/4/2 Varadha Raj <vara...@gmail.com>
image.png

Varadha Raj

unread,
Apr 4, 2013, 8:23:46 AM4/4/13
to jenkin...@googlegroups.com
Yes you are right.....I want to pick the tag which is ended as "00" string and do the build.....
Reply all
Reply to author
Forward
0 new messages