Jenkins 2 Pipeline script triggering itself. How to not poll for changes by git user Jenkins?

28 views
Skip to first unread message

Phil Swenson

unread,
Sep 14, 2016, 11:20:11 AM9/14/16
to Jenkins Users
Hi, we have a Jenkins Pipeline job that changes a pom.xml file and checks in the change.  This of course causes the job to kick itself off again.

Is there a way to configure the job to ignore the jenkins user?

I tried this:

       git url: 'g...@bitbucket.org:myrepo.git', excludedUsers: 'jenkins', branch: branch, credentialsId: 'mycredstuff', variable: 'CREDENTIALS'

This didn't seem to work.

I see there is an issue opened against jenkins here:



Is there a way to work around this issue?

Thanks
phil
 

Mark Waite

unread,
Sep 14, 2016, 11:23:22 AM9/14/16
to Jenkins Users
No work around that I've found.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/db03411a-6510-47a1-a8d6-6e86b07f2c8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages