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

2016-09-14 Thread Mark Waite
No work around that I've found.

On Wed, Sep 14, 2016 at 8:20 AM Phil Swenson  wrote:

> 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:
>
> https://issues.jenkins-ci.org/browse/JENKINS-36195
>
>
> Is there a way to work around this issue?
>
> Thanks
> phil
>
>
> --
> 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-users+unsubscr...@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.
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEf%2B7wBOOVEsOZuRBUOvsu4XTzyjsMaZkbvCoL4_q4Hkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-09-14 Thread Phil Swenson
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:

https://issues.jenkins-ci.org/browse/JENKINS-36195


Is there a way to work around this issue?

Thanks
phil
 

-- 
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-users+unsubscr...@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.