[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2020-03-05 Thread carol...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carol Lim edited a comment on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Hi, does anyone able to get the excludedRegions and includedRegions to work  in a pipeline job ?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.281.1583481181979%40Atlassian.JIRA.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2020-03-05 Thread carol...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carol Lim commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Hi, does anyone able to get the excludedRegions and includedRegions to work?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.179.1583481122197%40Atlassian.JIRA.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2019-11-14 Thread passarin...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Szymon Seget updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Change By: 
 Szymon Seget  
 
 
Issue Type: 
 Improvement Bug  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.1115.1573746606504%40Atlassian.JIRA.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2019-11-14 Thread passarin...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Szymon Seget commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Hi, any updates? I need this feature to work. Kishore Babu Kavuru are you trying to fix it?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.1014.1573746542576%40Atlassian.JIRA.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2019-10-25 Thread babu.kishor...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kishore Babu Kavuru assigned an issue to Kishore Babu Kavuru  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Change By: 
 Kishore Babu Kavuru  
 
 
Assignee: 
 Kishore Babu Kavuru  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.1079.1571987058349%40Atlassian.JIRA.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2019-10-25 Thread babu.kishor...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kishore Babu Kavuru edited a comment on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Pipeline builds on every polling without any update in SCM ..It seems if there any issue in the pipeline script, Then it is continuously building the pipeline as per polling.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.980.1571986982265%40Atlassian.JIRA.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2019-10-24 Thread babu.kishor...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kishore Babu Kavuru commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Pipeline builds on every polling without any update in SCM  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.860.1571985242808%40Atlassian.JIRA.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2019-05-09 Thread klei...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kyle Leinen edited a comment on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 From reading the original ticket notes  belong to  along with  the responses, I think this one is more in  regard to  alignment with  special rules around a single repository and not multiple repos.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.22914.1557457261414%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2019-05-09 Thread jackie.x...@ebaotech.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jackie Xiao commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 For multibranch pipeline jobs, are there any workarounds for Subversion with the 'checkout' step (includedRegions/excludedRegions)? Something like:  def scm = checkout scm: [   $class:'SubversionSCM',   extensions: [     [$class: 'PathRestriction', excludedRegions: '', includedRegions: '.+\\.java']   ] ]  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.22912.1557456542810%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2019-05-09 Thread klei...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kyle Leinen commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 From reading the original ticket notes belong to the responses, I think this one is more in regard to special rules around a single repository and not multiple repos.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.22360.1557422581280%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2019-05-09 Thread smekkle...@gmx.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 smekkley smekkley commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Does this issue also aim to solve the issue where you can't poll multiple git repository with pipeline jobs?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.172167.1466697529000.22270.1557422161390%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2018-09-28 Thread jari.henrik.heikk...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jari Heikkilä commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Hi, I think I have the same issue, PathRestriction/includedRegions defined in Jenkinsfile does not work: "[$class: 'PathRestriction', excludedRegions: '', includedRegions: '/.*']" It seems that Jenkins Polling log says correctly that commit to other folder than 'includedRegions' is ignored, but still the build is started by scm change. Clip from Polling log: "Ignored commit afa14f5970cdaa2d3d3a96f0c76cabf3aa2928dc: No paths matched included region whitelist" However PathRestriction/includedRegions seems to work at least in Jenkins Freestyle project when configuring restriction in Jenkins GUI.  But why this issue type is "Improvement", I consider this a bug?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2018-09-25 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Assignee: 
 Mark Waite  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2018-09-03 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 There have been some brief discussions about it, but there are no plans to address it.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2018-09-03 Thread shaul...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Shaul Lahav assigned an issue to Mark Waite  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Change By: 
 Shaul Lahav  
 
 
Assignee: 
 Shaul Lahav Mark Waite  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2018-09-03 Thread rich...@japeoh.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ric Featherstone commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Are there plans to address this? Working with a scripted pipeline it's possible to define polling as follows 

 

properties(
[ 
pipelineTriggers([
[$class: "SCMTrigger", scmpoll_spec: "H/5 * * * *"],
]) 
]
)
 

 It would be very handy to be able to specify, includes / excludes at this level  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2018-08-02 Thread aburdajew...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Allan BURDAJEWICZ edited a comment on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 I was able to reproduce this easily and also to find a workaround.h3. ReproduceI have the repo "user/repoA" that have the following Jenkinsfile:{code}node {deleteDir()dir("repoA") {checkout scm: [$class: 'GitSCM', branches: [[name: 'master']], extensions: [[$class: 'UserExclusion', excludedUsers: 'jenkinsbot']], userRemoteConfigs: [[credentialsId: 'mycredentials', url: 'https://1q2w3e4r5t6y7u8...@github.example.com/user/repoA.git']]]}dir("repoB") {checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: 'master']], extensions: [[$class: 'IgnoreNotifyCommit']], userRemoteConfigs: [[credentialsId: 'mycredentials', url: 'https://1q2w3e4r5t6y7u8...@github.example.com/user/repoB.git']]]}dir('repoB') {try {sh "git checkout master"sh "git config --global user.name 'jenkinsbot'"sh "git config --global user.email 'jenkins...@example.com'"sh "echo ${JOB_NAME}/${BUILD_NUMBER} > test.txt"sh "git add ."sh "git commit -m 'Automated: Updating test.txt during build'"sh "git push"} catch (err) {echo "No change in test.txt"}}}{code}The Pipeline jobs looks like the following: !pipeline-without-userexclusion-not-working.png|thumbnail!*Expected Behavior* (+) Achange to "repoA" and "repoB" should trigger polling.  (+) Polling should ignore "repoA" commits from the "jenkinsbot" user. (+) Polling should ignore "repoB".*Actual Behavior* (/) So a change to "repoA" and "repoB" should trigger polling.  (-) Polling should ignore "repoA" commits from the "jenkinsbot" user. ( - / ) Polling should ignore "repoB". In that particular case, because the user exclusion doe snot work the job builds in loop...h3. Workaround The workaround is to *set the User Exclusion in the Pipeline Definition SCM instead of inside the Jenkinsfile*. Doing the following fix this scenario:!pipeline-with-userexclusion-working.png|thumbnail! Note: This is not required but in this case it makes sense anyway to use {{checkout scm}} in the Jenkinsfile.So it seems that the problem come from polling rules of the SCMs defined in checkout steps (vs. SCM definition in the Pipeline job). This workaround works in a scenario where the the commits that must be ignored are from the repository holding the Jenkinsfile. I have not tested a scenario where the polling rules are set to "repoB" with "poll: true".I am hoping this helps to find the root cause here.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

 

[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2018-08-02 Thread aburdajew...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Allan BURDAJEWICZ commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 I was able to reproduce this easily and also to find a workaround. Reproduce I have the repo "user/repoA" that have the following Jenkinsfile: 

 

node {
deleteDir()

dir("repoA") {
checkout scm: [$class: 'GitSCM', 
branches: [[name: 'master']], 
extensions: [[$class: 'UserExclusion', excludedUsers: 'jenkinsbot']], 
userRemoteConfigs: [[credentialsId: 'mycredentials', url: 'https://1q2w3e4r5t6y7u8...@github.example.com/user/repoA.git']]]
}

dir("repoB") {
checkout changelog: false, poll: false, scm: [$class: 'GitSCM', 
branches: [[name: 'master']], 
extensions: [[$class: 'IgnoreNotifyCommit']], 
userRemoteConfigs: [[credentialsId: 'mycredentials', url: 'https://1q2w3e4r5t6y7u8...@github.example.com/user/repoB.git']]
]
}

dir('repoB') {
try {
sh "git checkout master"
sh "git config --global user.name 'jenkinsbot'"
sh "git config --global user.email 'jenkins...@example.com'"
sh "echo ${JOB_NAME}/${BUILD_NUMBER} > test.txt"
sh "git add ."
sh "git commit -m 'Automated: Updating test.txt during build'"
sh "git push"
} catch (err) {
echo "No change in test.txt"
}
}
}
 

 The Pipeline jobs looks like the following:   Expected Behavior   Achange to "repoA" and "repoB" should trigger polling.   Polling should ignore "repoA" commits from the "jenkinsbot" user.  Polling should ignore "repoB". Actual Behavior   So a change to "repoA" and "repoB" should trigger polling.   Polling should ignore "repoA" commits from the "jenkinsbot" user.  Polling should ignore "repoB".  In that particular case, because the user exclusion doe snot work the job builds in loop... Workaround  The workaround is to set the User Exclusion in the Pipeline Definition SCM instead of inside the Jenkinsfile. Doing the following fix this scenario:   Note: This is not required but in this case it makes sense anyway to use checkout scm in the Jenkinsfile.  So it seems that the problem come from polling rules of the SCMs defined in checkout steps (vs. SCM definition in the Pipeline job). This workaround works in a scenario where the the commits that must be ignored are from the repository holding the Jenkinsfile. I have not tested a scenario where the polling rules are set to "repoB" with "poll: true". I am hoping this helps to find the root cause here.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comme

[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2018-08-02 Thread aburdajew...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Allan BURDAJEWICZ updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Change By: 
 Allan BURDAJEWICZ  
 
 
Attachment: 
 pipeline-without-userexclusion-not-working.png  
 
 
Attachment: 
 pipeline-with-userexclusion-working.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-03-29 Thread k.wo...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Krzysztof Wolny commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Jesse Glick I know that. But that's the point of using git - simplicity. If you go this way you proposed further, we can remove git - and use checkout, right?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-03-29 Thread k.wo...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Krzysztof Wolny edited a comment on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 [~jglick] I know that , and I think it should be easy to pass properties to "parent" . But that's the point of using {{git}} - simplicity. If you go this way you proposed further, we can remove {{git}} - and use {{checkout}}, right?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-03-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 To be clear, from the description I am assuming this is a bug not a feature. Would require someone to take time to do the analysis. Offhand I have no idea where the problem lies.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Assignee: 
 Jesse Glick  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-03-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Krzysztof Wolny the git step is only for the most simplistic use cases. Use checkout.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-03-16 Thread hafizul...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Hafizullah Nikben commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Desperately need this feature working   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-02-14 Thread k.wo...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Krzysztof Wolny commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Can we also make it possible to pass properties (like excludedUsers) from git step to checkout step, as currently git step allows only for url, branch and credentialsId. It would make life a lot easier, as we wouldn't have to switch from git to checkout (which is less readable) just to pass some property.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-02-08 Thread michael.andr...@me.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Andrews commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Mark Waite Ok. Thanks for the update.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-02-08 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 No fix is in the works as far as I know. This particular use case is quite far down my priority list (behind large file support, submodule bug fixes, and authentication issues).  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-02-08 Thread michael.andr...@me.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Andrews commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Yes. polling REGION inclusion/exclusion is working. The USER inclusion/exclusion is not working. We too have the issue of automatic releases where the release is tagged and the version is bumped by Jenkins. This results in a builds after the push. In Jenkins 1.x this was easily remedied using the user exclusions. Hoping a fix is in the works.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-02-06 Thread jukka.lehtni...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jukka Lehtniemi edited a comment on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 At least _Included/Excluded regions_ actually works ok if you also specify _Disable Remote Poll_, e.g.:{code} checkout(  scm: [  ... , extensions: [[$class: 'DisableRemotePoll'], [$class: 'PathRestriction', excludedRegions: '', includedRegions: 'foo/.*']] , ... ]){code}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2017-02-06 Thread jukka.lehtni...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jukka Lehtniemi commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 At least Included/Excluded regions actually works ok if you also specify Disable Remote Poll, e.g.: 

 

 checkout(
scm: [
extensions: [[$class: 'DisableRemotePoll'], [$class: 'PathRestriction', excludedRegions: '', includedRegions: 'foo/.*']]
])
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-12-26 Thread vorobieva...@yandex.ru (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alexander Vorobiev commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Can this functionality be moved to later stages? So some steps can be skipped in case there are no appropriate changes as described in JENKINS-37978.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-11-30 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 

Most of our pipelines are set up to do maven releases, which can be a bit chatty with Git commit/push; one for the release version commit, a second for the dependency version bump. The two extra concurrent builds can create heavy load
 Ultimately the Maven release plugin is not really compatible with CI workflows. 

We are using multi-branch for this, so that may complicate our position
 This bug is about regular polling, which is supposed to support polling rules. Multibranch scanning definitely does not support polling rules. See JENKINS-35988.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-11-30 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Matt Traynham the git-plugin is the most likely place that needs the change. The AbstractGitSCMSource class is the one that is used by the pipeline code for its git operations. That seems like the first place to start looking. There are various guides to getting started as a Jenkins plugin developer, including plugin tutorial and Extending Jenkins. The jenkins-dev mailing list is also a good place for help.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-11-29 Thread skitch...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matt Traynham edited a comment on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 [~markewaite], this has been a fairly bothersome bug for my team.  Most of our pipelines are set up to do maven releases, which can be a bit chatty with Git commit/push; one for the release version commit, a second for the dependency version bump.  The two extra concurrent builds can create heavy load on the machine, sometimes causing the release build to fail which can leave our SCM and Nexus repos in a weird limbo state.There are two potential workarounds we've identified to getting this down to a single extra build.  Either we restrict the maven push til the very end or attempt to filter out webhook calls from our repo service.  Both are a bit of a hack, and we were trying to gauge this bug, ultimately filtering out certain commits with particular messages/users.Could you make a recommendation on any other potential solutions, or point me in the right direction of which projects/code would likely need to change to get this fixed?  We are using multi-branch for this, so that may  even  complicate our position a bit further as mentioned above ,  it doesn't  really  use workspace polling.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-11-29 Thread skitch...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matt Traynham edited a comment on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 [~markewaite], this has been a fairly bothersome bug for my team.  Most of our pipelines are set up to do maven releases, which can be a bit chatty with Git commit/push; one for the release version commit, a second for the dependency version bump.  The two extra concurrent builds can create heavy load on the machine, sometimes causing the release build to fail which can leave our SCM and Nexus repos in a weird limbo state.There are two potential workarounds we've identified to getting this down to a single extra build.  Either we restrict the maven push til the very end or attempt to filter out webhook calls from our repo service.  Both are a bit of a hack, and we were trying to gauge this bug, ultimately filtering out certain commits with particular messages/users.Could you make a recommendation on any other potential solutions, or point me in the right direction of which projects/code would likely need to change to get this fixed?   We are using multi-branch for this, so that may even complicate our position a bit further as mentioned above it doesn't really use workspace polling.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-11-29 Thread skitch...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matt Traynham commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Mark Waite, this has been a fairly bothersome bug for my team. Most of our pipelines are set up to do maven releases, which can be a bit chatty with Git commit/push; one for the release version commit, a second for the dependency version bump. The two extra concurrent builds can create heavy load on the machine, sometimes causing the release build to fail which can leave our SCM and Nexus repos in a weird limbo state. There are two potential workarounds we've identified to getting this down to a single extra build. Either we restrict the maven push til the very end or attempt to filter out webhook calls from our repo service. Both are a bit of a hack, and we were trying to gauge this bug, ultimately filtering out certain commits with particular messages/users. Could you make a recommendation on any other potential solutions, or point me in the right direction of which projects/code would likely need to change to get this fixed?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-10-14 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 No comments from me without a detailed investigation. There are higher priority bugs in the git plugin which will get my attention before this bug, and several pull requests which will get my attention before this bug. My apologies, but I won't do a detailed investigation of this bug report for a long time. If it is crucial to you, you're encouraged to fork the git plugin source code, write a test which shows the failure, write the fix, and then submit the pull request.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-10-14 Thread dva...@gmx.us (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Darth Vader commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Jesse Glick Thanks for chiming in. I'm not sure I understand all the comments other than it should work. I use polling but in a sneaky way: I use Bitbucket server with an add-on that triggers Jenkins job git polling. The job is set to poll but on an infinite schedule (never). So I get job triggering only when the git repository is updated but with all the git polling rules being observed. I use the git caching too to speed up the data transfers (I fetch updates to the repository once daily using a Jenkins job). Mark Waite Jesse has chimed in. Any comments on his remarks?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-08-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Not to be confused with JENKINS-35988: multibranch indexing does not use SCM.compareRemoteRevisionWith at all.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-08-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Component/s: 
 workflow-job-plugin  
 
 
Component/s: 
 workflow-scm-step-plugin  
 
 
Component/s: 
 pipeline  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-08-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 

I'm not sure how it would honor the polling settings inside the Jenkinsfile in the repository.
 This is automatic, based on the checkout done in the last build. Not sure offhand, should work, since Pipeline supports workspace-based polling, but perhaps there is some bug, Git-specific or not, and missing test coverage. Generally speaking, polling exclusions are discouraged for Git since the plugin does not currently support them without reverting to workspace-based polling, which is always bad. AbstractGitSCMSource does define a caching system which could be used to fix that, but non-multibranch parts of the Git plugin do not currently take advantage of it.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-07-20 Thread prest...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Preston Jennings commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Mark Waite Understood. I've created a separate defect as I couldn't find anything specific to my case: https://issues.jenkins-ci.org/browse/JENKINS-36836  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-07-20 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Preston Jennings you're describing a condition which has a very different root case compared to the conditions which cause this bug report. Please find an existing bug report which describes cases where a job ignores polling exclusion rules which are defined within the job, or submit a new bug.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-07-20 Thread prest...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Preston Jennings commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 +1 For me, it's the polling ignores that are configured in the job itself and not the Jenkinsfile.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-07-05 Thread dva...@inbox.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Darth Vader commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Jesse Glick Any comment on this issue? I can't imagine being the only one with this problem. This is really the only thing preventing us to move to a pipeline/multi-branch workflow. I know that pipelines are the future of Jenkins so we really want to make the switch so we can benefit from all the recent improvements in Jenkins.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-07-05 Thread dva...@inbox.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Darth Vader assigned an issue to Jesse Glick  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Change By: 
 Darth Vader  
 
 
Assignee: 
 Jesse Glick  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-06-30 Thread daryl.pif...@kosmos.fr (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 daryl piffre commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 I'm having the same problem as well. Poll still triggers after setting excluded messages/users It's kinda important to us and probably others because we use maven-release-plugin, as shown in the example in the snippet generator.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-06-23 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-36195  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
 Since the git plugin doesn't read the contents of Jenkinsfile when performing polling, I'm not sure how it would honor the polling settings inside the Jenkinsfile in the repository. It seems like it would be even more challenging in a repository with more than one branch, since the polling settings might differ between branches within the same repository. I wonder if Jesse Glick has any ideas how to handle this case and JENKINS-35988 (and others like it).  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-06-23 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Assignee: 
 Mark Waite  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





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


[JIRA] (JENKINS-36195) Pipeline polling ignores special polling rules

2016-06-23 Thread dva...@inbox.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Darth Vader created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36195  
 
 
  Pipeline polling ignores special polling rules   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Mark Waite  
 
 
Components: 
 git-plugin, workflow-plugin  
 
 
Created: 
 2016/Jun/23 3:58 PM  
 
 
Environment: 
 Jenkins LTS Latest  Windows 7 x64  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Darth Vader  
 

  
 
 
 
 

 
 The git plugin currently offers several special rules on polling: 
 
Polling ignores commits from certain users 
Polling ignores commits from certain paths (Included/Excluded regions) 
Polling ignores commits with certain messages 
Branch specifier 
 For example: checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'UserExclusion', excludedUsers: 'dvader'], [$class: 'PathRestriction', excludedRegions: 'One/.*', includedRegions: 'Test/.*'], [$class: 'MessageExclusion', excludedMessage: '.*\\[maven-release-plugin\\].*']], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[credentialsId: '...', url: 'ssh://g...@bitbucket.org/test.git']]]) If a commit is committed to bitbucket.org/test.git, regardless of the user, location, branch or message, the step that includes the checkout will be run. Similar issue has been reported in:  
 
JENKINS-35988 
Configuration of included