[JIRA] (JENKINS-38508) git scm poll doesn't ignore changes with pipeline

2020-03-02 Thread igor.f...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Igor Fraa commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 According to Git plugin source  [$class: 'DisableRemotePoll'] is not related to disabling polling. It is for repositories with 'ls-remote' disabled and acts as an alias for requiresWorkspaceForPolling parameter.  the only workaround to disable polling is to set  

 

[$class: 'PathRestriction', excludedRegions: '', includedRegions: 'no/such/path/exists'] 

  
 

  
 
 
 
 

 
 
 

 
 
 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.174691.1474899198000.2752.1583161321045%40Atlassian.JIRA.


[JIRA] (JENKINS-38508) git scm poll doesn't ignore changes with pipeline

2019-03-18 Thread nddeshmuk...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nandlal Deshmukh edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 @[~ehaselwanter] ,  Thanks a lot, you saved me .. Below workaround worked for me {code:java}extensions: [[$class: 'DisableRemotePoll']]{code}{code:java} def scmVars1 = checkout([def scmVars1 = checkout([ $class : 'GitSCM', branches:  [[name: '*/' + "${BRANCH_PARAM}"]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'DisableRemotePoll']], submoduleCfg : [], userRemoteConfigs: [[url: 'https:// nadeshmu:Welcome013@ github.com/ andeshmukh04 zbcdeshmukhxys /framework.git']] ]){code}  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2019-03-18 Thread nddeshmuk...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nandlal Deshmukh commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 @Edmund Haselwanter ,  Thanks a lot, you saved me ..  Below workaround worked for me  

 

extensions: [[$class: 'DisableRemotePoll']]
 

 

 

 def scmVars1 = checkout([def scmVars1 = checkout([ $class : 'GitSCM', branches:  [[name: '*/' + "${BRANCH_PARAM}"]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'DisableRemotePoll']], submoduleCfg : [], userRemoteConfigs: [[url: 'https://nadeshmu:welcome...@github.com/andeshmukh04/framework.git']] ])
 

  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2019-01-10 Thread aal...@ea.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Aaron Ling commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 I hit this issue as well. Setting changelog to false and restarting Jenkins seems to bypass the issue.  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2017-03-14 Thread daveord...@thebarnums.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 D B edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 [~ehaselwanter], Could you explain a bit how to use your workaround?  I'm not sure where to put DisableRemotePoll or PathRestriction.  I tried putting it under the extensions property of checkout scm but it's still polling the secondary repo. Update: You add them between the extensions: [] brackets.  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2017-03-13 Thread daveord...@thebarnums.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 D B commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 Edmund Haselwanter, Could you explain a bit how to use your workaround?  I'm not sure where to put DisableRemotePoll or PathRestriction.  I tried putting it under the extensions property of checkout scm but it's still polling the secondary repo.  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2017-03-01 Thread m...@ehaselwanter.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Edmund Haselwanter edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 Update:{code:java}  // poll false does not count  [$class: 'DisableRemotePoll'],  [$class: 'PathRestriction', excludedRegions: '', includedRegions: 'foo/.*']{code}works as a workaround -- old report - same here.{code:java}checkout(  poll: true,  scm: [$class: 'GitSCM',userRemoteConfigs: [[  url: 'git@xx/deployed-service-versions.git',  credentialsId: xx,]],branches: [[name: '*/master']],extensions: [  [$class: 'RelativeTargetDirectory', relativeTargetDir: 'deployed-service-versions'],  [$class: 'CleanCheckout'],],doGenerateSubmoduleConfigurations: false,submoduleCfg: [],  ],)checkout(  poll: false,  scm: [$class: 'GitSCM',userRemoteConfigs: [[  url: 'git@8r/images-reporting.git',  credentialsId: 'x',]],branches: [[name: '*/master']],extensions: [  [$class: 'RelativeTargetDirectory', relativeTargetDir: 'images-reporting'],  // prune everything in workspace  [$class: 'CleanCheckout'],  // avoid detached head. it calculates a local branch derived from the clone (mater in this case)  [$class: 'LocalBranch'],],doGenerateSubmoduleConfigurations: false,submoduleCfg: [],  ],){code}does poll and trigger on the `images-reporting.git` repo, where `poll: false` is set{code:java}Started on Feb 17, 2017 11:27:00 AMUsing strategy: Default[poll] Last Built Revision: Revision da056b8e354ad819942980d620f35751b52fad6a (refs/remotes/origin/master) > git ls-remote -h git@/deployed-service-versions.git # timeout=10Found 1 remote heads on git@x/deployed-service-versions.git[poll] Latest remote head revision on refs/heads/master is: da056b8e354ad819942980d620f35751b52fad6a - already built by 202Using strategy: Default[poll] Last Built Revision: Revision 724e92bee2268fe431d86239d97ce04ed673a047 (refs/remotes/origin/master)using GIT_SSH to set credentials gitlab > git ls-remote -h git@/images-reporting.git # timeout=10Found 1 remote heads on git@xx/-images-reporting.git[poll] Latest remote head revision on refs/heads/master is: e9cfddb95d27a46e3048d12e0a83fedd9a3dc2aeDone. Took 1.6 secChanges found{code}so, how can I ignore changes in `/images-reporting.git` but build on changes in the the `deployed-service-versions.git' repo?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 


[JIRA] (JENKINS-38508) git scm poll doesn't ignore changes with pipeline

2017-03-01 Thread m...@ehaselwanter.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Edmund Haselwanter edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 Update:{code:java}  // poll false does not count  [$class: 'DisableRemotePoll'],  [$class: 'PathRestriction', excludedRegions: '', includedRegions: 'foo/.*']{code}works as a workaround same here.{code:java}checkout(  poll: true,  scm: [$class: 'GitSCM',userRemoteConfigs: [[  url: 'git@xx/deployed-service-versions.git',  credentialsId: xx,]],branches: [[name: '*/master']],extensions: [  [$class: 'RelativeTargetDirectory', relativeTargetDir: 'deployed-service-versions'],  [$class: 'CleanCheckout'],],doGenerateSubmoduleConfigurations: false,submoduleCfg: [],  ],)checkout(  poll: false,  scm: [$class: 'GitSCM',userRemoteConfigs: [[  url: 'git@8r/images-reporting.git',  credentialsId: 'x',]],branches: [[name: '*/master']],extensions: [  [$class: 'RelativeTargetDirectory', relativeTargetDir: 'images-reporting'],  // prune everything in workspace  [$class: 'CleanCheckout'],  // avoid detached head. it calculates a local branch derived from the clone (mater in this case)  [$class: 'LocalBranch'],],doGenerateSubmoduleConfigurations: false,submoduleCfg: [],  ],){code}does poll and trigger on the `images-reporting.git` repo, where `poll: false` is set{code:java}Started on Feb 17, 2017 11:27:00 AMUsing strategy: Default[poll] Last Built Revision: Revision da056b8e354ad819942980d620f35751b52fad6a (refs/remotes/origin/master) > git ls-remote -h git@/deployed-service-versions.git # timeout=10Found 1 remote heads on git@x/deployed-service-versions.git[poll] Latest remote head revision on refs/heads/master is: da056b8e354ad819942980d620f35751b52fad6a - already built by 202Using strategy: Default[poll] Last Built Revision: Revision 724e92bee2268fe431d86239d97ce04ed673a047 (refs/remotes/origin/master)using GIT_SSH to set credentials gitlab > git ls-remote -h git@/images-reporting.git # timeout=10Found 1 remote heads on git@xx/-images-reporting.git[poll] Latest remote head revision on refs/heads/master is: e9cfddb95d27a46e3048d12e0a83fedd9a3dc2aeDone. Took 1.6 secChanges found{code}so, how can I ignore changes in `/images-reporting.git` but build on changes in the the `deployed-service-versions.git' repo?   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  

[JIRA] (JENKINS-38508) git scm poll doesn't ignore changes with pipeline

2017-02-21 Thread ansgar.binnin...@ars.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ansgar B edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 I have here a small Explanation on StackOverflow with the same/similar case. Maybe it could help you to understand what the problem with the polling is.[http://stackoverflow.com/questions/40017034/jenkins-pipeline-poll-scm-with-different-repo-for-jenkinsfile-and-application-re]I try to summarize the problem we have at our company.We have two repositories. One for the configuration of Jenkinsfiles (config-repo) and on for our Development (dev-repo) , which is included in the Jenkinsfile .In Jenkins we have 3 Jobs for deployment of the dev-repo. One for dev branch, one for  hotfixe  hotfix  branch and one for release branch.  --> Jenkinsfiles are located in the config-repo. the git step in the Jenkinsfile check out the dev-repo. If i check new code into the config-repo, the builds aren't triggered, but if we check new code into dev-repo after a checkin/change in the config-repo all jobs configured with the config-repo and using the dev-repo starts a build.The Jobs should never start a build after checkins into config-repo and only starts a build, if new code is checked into their specific branch  at the dev-repo .  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2017-02-17 Thread m...@ehaselwanter.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Edmund Haselwanter edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 same here.{code:java}checkout(  poll: true,  scm: [$class: 'GitSCM',userRemoteConfigs: [[  url: 'git@xx/deployed-service-versions.git',  credentialsId: xx,]],branches: [[name: '*/master']],extensions: [  [$class: 'RelativeTargetDirectory', relativeTargetDir: 'deployed-service-versions'],  [$class: 'CleanCheckout'],],doGenerateSubmoduleConfigurations: false,submoduleCfg: [],  ],)checkout(  poll: false,  scm: [$class: 'GitSCM',userRemoteConfigs: [[  url: 'git@8r/images-reporting.git',  credentialsId: 'x',]],branches: [[name: '*/master']],extensions: [  [$class: 'RelativeTargetDirectory', relativeTargetDir: 'images-reporting'],  // prune everything in workspace  [$class: 'CleanCheckout'],  // avoid detached head. it calculates a local branch derived from the clone (mater in this case)  [$class: 'LocalBranch'],],doGenerateSubmoduleConfigurations: false,submoduleCfg: [],  ],){code}does poll and trigger on the  second repo  `images-reporting . git` repo, where `poll: false` is set {code:java}Started on Feb 17, 2017 11:27:00 AMUsing strategy: Default[poll] Last Built Revision: Revision da056b8e354ad819942980d620f35751b52fad6a (refs/remotes/origin/master) > git ls-remote -h git@/deployed-service-versions.git # timeout=10Found 1 remote heads on git@x/deployed-service-versions.git[poll] Latest remote head revision on refs/heads/master is: da056b8e354ad819942980d620f35751b52fad6a - already built by 202Using strategy: Default[poll] Last Built Revision: Revision 724e92bee2268fe431d86239d97ce04ed673a047 (refs/remotes/origin/master)using GIT_SSH to set credentials gitlab > git ls-remote -h git@/images-reporting.git # timeout=10Found 1 remote heads on git@xx/-images-reporting.git[poll] Latest remote head revision on refs/heads/master is: e9cfddb95d27a46e3048d12e0a83fedd9a3dc2aeDone. Took 1.6 secChanges found{code}so, how can I ignore changes in `/images-reporting.git` but build on changes in the the `deployed-service-versions.git' repo?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 
  

[JIRA] (JENKINS-38508) git scm poll doesn't ignore changes with pipeline

2017-02-17 Thread m...@ehaselwanter.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Edmund Haselwanter commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 same here. 

 

checkout(
  poll: true,
  scm: [
$class: 'GitSCM',
userRemoteConfigs: [[
  url: 'git@xx/deployed-service-versions.git',
  credentialsId: xx,
]],
branches: [[name: '*/master']],
extensions: [
  [$class: 'RelativeTargetDirectory', relativeTargetDir: 'deployed-service-versions'],
  [$class: 'CleanCheckout'],
],
doGenerateSubmoduleConfigurations: false,
submoduleCfg: [],
  ],
)

checkout(
  poll: false,
  scm: [
$class: 'GitSCM',
userRemoteConfigs: [[
  url: 'git@8r/images-reporting.git',
  credentialsId: 'x',
]],
branches: [[name: '*/master']],
extensions: [
  [$class: 'RelativeTargetDirectory', relativeTargetDir: 'images-reporting'],
  // prune everything in workspace
  [$class: 'CleanCheckout'],
  // avoid detached head. it calculates a local branch derived from the clone (mater in this case)
  [$class: 'LocalBranch'],
],
doGenerateSubmoduleConfigurations: false,
submoduleCfg: [],
  ],
)

 

 does poll and trigger on the second repo. 

 

Started on Feb 17, 2017 11:27:00 AM
Using strategy: Default
[poll] Last Built Revision: Revision da056b8e354ad819942980d620f35751b52fad6a (refs/remotes/origin/master)
 > git ls-remote -h git@/deployed-service-versions.git # timeout=10
Found 1 remote heads on git@x/deployed-service-versions.git
[poll] Latest remote head revision on refs/heads/master is: da056b8e354ad819942980d620f35751b52fad6a - already built by 202
Using strategy: Default
[poll] Last Built Revision: Revision 724e92bee2268fe431d86239d97ce04ed673a047 (refs/remotes/origin/master)
using GIT_SSH to set credentials gitlab
 > git ls-remote -h git@/images-reporting.git # timeout=10
Found 1 remote heads on git@xx/-images-reporting.git
[poll] Latest remote head revision on refs/heads/master is: e9cfddb95d27a46e3048d12e0a83fedd9a3dc2ae
Done. Took 1.6 sec
Changes found
 

 so, how can I ignore changes in `/images-reporting.git` but build on changes in the the `deployed-service-versions.git' repo?  
 

  
 
 
 
 

 
 
 

 
 

[JIRA] (JENKINS-38508) git scm poll doesn't ignore changes with pipeline

2017-02-16 Thread ansgar.binnin...@ars.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ansgar B commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 I have here a small Explanation on StackOverflow with the same/similar case. Maybe it could help you to understand what the problem with the polling is. http://stackoverflow.com/questions/40017034/jenkins-pipeline-poll-scm-with-different-repo-for-jenkinsfile-and-application-re I try to summarize the problem we have at our company. We have two repositories. One for the configuration of Jenkinsfiles (config-repo) and on for our Development (dev-repo). In Jenkins we have 3 Jobs for deployment of the dev-repo. One for dev branch, one for hotfixe branch and one for release branch. If i check new code into the config-repo, the builds aren't triggered, but if we check new code into dev-repo after a checkin/change in the config-repo all jobs configured with the config-repo and using the dev-repo starts a build. The Jobs should never start a build after checkins into config-repo and only starts a build, if new code is checked into their specific branch.  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2017-02-14 Thread pavel.vasilev.georg...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Pavel Georgiev edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 I'm not sure if this is the correct defect but im my case when i checkout a git repo using the checkout step anc configure poll: false i see in the git pooling log that this repo is being checked for changesnode('build') {  checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'git_ci_credentials', url: 'https:// + {color:red}hidden{color} + ']]]}The pooling log:Using strategy: Default[poll] Last Built Revision: Revision  + {color:red}hidden {color} + (refs/remotes/origin/master)using GIT_ASKPASS to set credentials git_ci_credentials > git ls-remote -h https:// + {color:red}hidden {color} + # timeout=10Found 6 remote heads on https:// + {color:red}hidden{color} + [poll] Latest remote head revision on refs/heads/master is:  + {color:red}hidden {color} + - already built by 171Done. Took 5.8 secNo changes  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2017-02-14 Thread pavel.vasilev.georg...@gmail.com (JIRA)
<<< text/html; charset=UTF-8: Unrecognized >>>


[JIRA] (JENKINS-38508) git scm poll doesn't ignore changes with pipeline

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


 
 
 
 

 
 
 

 
   
 Jukka Lehtniemi edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 I can reproduce this (Jenkins 2.43, Git plugin 3.0.1, Pipeline plugin 2.4).Steps to reproduce:# Create a  testrepository  test repository :{code}git init /tmp/testrepo; cd /tmp/testrepo; echo foo > foo; git add foo; git commit -m foo{code}# Create a new pipeline job with script:{code}properties([pipelineTriggers([pollSCM('* * * * *')])])node("master") {git(url: '/tmp/testrepo', poll:false)}{code}# Trigger the pipeline once manually# Commit more content to the test repository{code} echo foo2 >> foo; git commit -a -m foo2{code}# Observe how the build is being triggered in a minute even if the {{poll=false}} is set  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

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


 
 
 
 

 
 
 

 
   
 Jukka Lehtniemi updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38508  
 
 
  git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
Change By: 
 Jukka Lehtniemi  
 
 
Priority: 
 Minor Major  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

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


 
 
 
 

 
 
 

 
   
 Jukka Lehtniemi edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 I can reproduce this (Jenkins 2.43, Git plugin 3.0.1, Pipeline plugin 2.4).Steps to reproduce:# Create a testrepository:{code}git init /tmp/testrepo }} ; cd /tmp/testrepo; echo foo > foo; git add foo; git commit -m foo{code}# Create a new pipeline job with script:{code}properties([pipelineTriggers([pollSCM('* * * * *')])])node("master") {git(url: '/tmp/testrepo', poll:false)}{code}# Trigger the pipeline once manually# Commit more content to the test repository{code} echo foo2 >> foo; git commit -a -m foo2{code}# Observe how the build is being triggered in a minute even if the {{poll=false}} is set  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

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


 
 
 
 

 
 
 

 
   
 Jukka Lehtniemi commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 I can reproduce this (Jenkins 2.43, Git plugin 3.0.1, Pipeline plugin 2.4). Steps to reproduce: 
 
Create a testrepository: 

 

git init /tmp/testrepo}}; cd /tmp/testrepo; echo foo > foo; git add foo; git commit -m foo
 

 
Create a new pipeline job with script: 

 

properties([pipelineTriggers([pollSCM('* * * * *')])])
node("master") {
git(url: '/tmp/testrepo', poll:false)
}
 

 
Trigger the pipeline once manually 
Commit more content to the test repository 

 
 
echo foo2 >> foo; git commit -a -m foo2
 

 
Observe how the build is being triggered in a minute even if the poll=false is set 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by 

[JIRA] (JENKINS-38508) git scm poll doesn't ignore changes with pipeline

2017-01-31 Thread martin.san...@sap.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Sander edited a comment on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 JENKINS-39621 might also be  affected  related .  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2017-01-31 Thread martin.san...@sap.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Sander commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 JENKINS-39621 might also be affected.  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2016-10-12 Thread jwillem...@remedy.nl (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johnny Willemsen commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 I also don't 100% understand it. Mostly it seems the polling does work, but in some cases we still see jobs to run even when nothing changed  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

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


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-38508  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
 Would need to study your example more closely since so far I do not understand it. (Generally, steps to reproduce from scratch are more helpful than explanations.) Possibly same as JENKINS-38659.  
 

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

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


 
 
 
 

 
 
 

 
   
 Jesse Glick updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38508  
 
 
  git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

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

  
 
 
 
 

 
 
 

 
 
 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-38508) git scm poll doesn't ignore changes with pipeline

2016-09-26 Thread jwillem...@remedy.nl (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johnny Willemsen created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-38508  
 
 
  git scm poll doesn't ignore changes with pipeline   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 config.xml, test.groovy  
 
 
Components: 
 workflow-cps-plugin  
 
 
Created: 
 2016/Sep/26 2:13 PM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Johnny Willemsen  
 

  
 
 
 
 

 
 We are using the job as attached with the groovy test.groovy file. We poll the SCM for changes but want to ignore any change that is in our jenkins-jobs git repo. This is because in a full setup we poll more repositories which do change. In the jenkins pipeline we use .* as exclude region. This does work unless we clone the same repository in our test.groovy. There we say poll=false, but the repository is polled and at the moment we make a commit to jenkins-jobs.git the job is run. With these configuration we would expect this job to never run, even when we schedule it frequrently  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment