[JIRA] (JENKINS-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: Karl Wirth Labels: P4_A P4_SUPPORT 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth reopened an issue Original fix was released but reports that fix does not build correctly. We are investigating. Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: Karl Wirth Resolution: Fixed Status: Closed Reopened 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://
[JIRA] (JENKINS-47427) Poll per change with pipeline jobs
Title: Message Title W Basu closed an issue as Fixed Released in 1.8.10 Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: W Basu Status: Resolved Closed 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-47427) Poll per change with pipeline jobs
Title: Message Title Daniel Hagström commented on JENKINS-47427 Re: Poll per change with pipeline jobs Bad news, I'm afraid. As far as I can tell, the update introduced some problematic behaviour. I'll try to explain with a example. In a project that polls once per minute and a build taking ~2-3 minutes, submits happen with the following timings: Changelist @1 is submitted, which triggers a build, #1, within a minute. All good. During building of #1 with changelist @1, changelists @2 and @3 are submitted. The multibranch polling log has this: Changes detected: master (1 → 3) Scheduled build for branch: master When #1 is done, build #2 starts. Only changelist @2 is included in the build, as it should with incremental builds. The console output of the actual build job has this: 00:00:00.849 ... p4 change -o 3 + 00:00:00.860 ... p4 describe -s 3 + 00:00:00.872 ... found change: 3 00:00:00.872 ... p4 change -o 2 + 00:00:00.882 ... p4 describe -s 2 + 00:00:00.893 ... found change: 2 However, after automatically triggering #2 with @2, the multibranch polling log has this: ... p4 files -e //redacted/master/Jenkinsfile_Android + ‘Jenkinsfile_Android’ found ... p4 changes -m1 //redacted/master/... + No changes detected: master (still at 3) And no further builds are automatically triggered. That's a problem. If at this point I manually trigger another build, #3, it has @3 only, so the incremental build-functionality "works". However, we keep lagging behind, with the rate of one submit per submit more than the first 1 during building. The polling log seems to note the highest number it has seen when polling, not the highest the job has built. So, in reality, if we have more changelists than we can build over a given time, we're still not getting incremental builds. We're getting incremental builds that as time goes on lags more and more behind, unless somebody manually triggers builds, one for each submit not included in the polling. That's not very useful. Thoughts? ping Karl Wirth Add Comment
[JIRA] (JENKINS-47427) Poll per change with pipeline jobs
Title: Message Title Paul Allen resolved as Fixed Ready for release. Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: Paul Allen Status: In Progress Resolved Resolution: Fixed 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-47427) Poll per change with pipeline jobs
Title: Message Title Paul Allen assigned an issue to Paul Allen Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: Paul Allen Assignee: Paul Allen 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-47427) Poll per change with pipeline jobs
Title: Message Title Paul Allen started work on JENKINS-47427 Change By: Paul Allen Status: Open In Progress 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-47427) Poll per change with pipeline jobs
Title: Message Title SCM/JIRA link daemon commented on JENKINS-47427 Re: Poll per change with pipeline jobs Code changed in jenkins User: Paul Allen Path: src/main/java/org/jenkinsci/plugins/p4/PerforceScm.java src/main/java/org/jenkinsci/plugins/p4/tasks/PollTask.java src/test/java/org/jenkinsci/plugins/p4/DefaultEnvironment.java src/test/java/org/jenkinsci/plugins/p4/client/GraphTest.java src/test/java/org/jenkinsci/plugins/p4/client/PollingTest.java http://jenkins-ci.org/commit/p4-plugin/931f05a111a66c2002deb8dc80f321bcb3abee72 Log: Poll per change for Pipeline. JENKINS-47427 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-47427) Poll per change with pipeline jobs
Title: Message Title W Basu updated an issue Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: W Basu Labels: P4_VERIFY P4_A 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth commented on JENKINS-47427 Re: Poll per change with pipeline jobs Thanks both. Just wanted to make sure I was on the correct track. 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-47427) Poll per change with pipeline jobs
Title: Message Title Daniel Hagström commented on JENKINS-47427 Re: Poll per change with pipeline jobs Yeah. I'm looking for incremental builds, to pin down which changelists introduce what behaviour and/or potential problems. I've got more projects than I'd like to set up and maintain p4 submit triggers for, and builds take quite long so I'd prefer if polling e.g. each minute produced this result. In my head, that makes sense, but I could be wrong 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-47427) Poll per change with pipeline jobs
Title: Message Title Federico Terzi commented on JENKINS-47427 Re: Poll per change with pipeline jobs Karl Wirth that is exactly the result I expect 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth commented on JENKINS-47427 Re: Poll per change with pipeline jobs Hi Both. For the record can you both add your usage cases for this bug. My understanding is that the desired result you want is: trigger a build on every changelist only build from last up to changelist that triggered the job Is this what you expect? 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-47427) Poll per change with pipeline jobs
Title: Message Title Federico Terzi edited a comment on JENKINS-47427 Re: Poll per change with pipeline jobs After speaking with Karl, I would like a fix to this bug as well, ping! :) 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-47427) Poll per change with pipeline jobs
Title: Message Title Federico Terzi commented on JENKINS-47427 Re: Poll per change with pipeline jobs After speaking with Karl, I would like a fix to bug as well, ping! 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth commented on JENKINS-47427 Re: Poll per change with pipeline jobs Hi Daniel Hagström. It's in the backlog but doesn't have a priority yet. Because we have both commented on it, it should be looked at in the next sprint review. I don't know when that will be. 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-47427) Poll per change with pipeline jobs
Title: Message Title Daniel Hagström commented on JENKINS-47427 Re: Poll per change with pipeline jobs Karl Wirth Ping! Any updates? 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth commented on JENKINS-47427 Re: Poll per change with pipeline jobs Commenting on this bug to keep it close to top of backlog list. 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: Karl Wirth Issue Type: Improvement Bug 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth commented on JENKINS-47427 Re: Poll per change with pipeline jobs Verified that polling per change does not work with Pipleline jobs if it is configured through the GUI using Polling Build Filters, or when using 'checkout' step. Variations tested that all fail: Lightweight checkout not selected, polling build filter from GUI Lightweight checkout selected, polling build filter from GUI, 'options { skipDefaultCheckout() }' not set. Lightweight checkout selected, polling build filter from GUI, 'options { skipDefaultCheckout() }' **set. Lightweight checkout not selected, polling build filter from Jenkinsfile checkout step. Lightweight checkout selected, polling build filter from Jenkinsfile checkout step, 'options { skipDefaultCheckout() }' not set. Lightweight checkout selected, polling build filter from Jenkinsfile checkout step, 'options { skipDefaultCheckout() }' set. Example Jenkinsfile with everything set below: pipeline { agent any //options { skipDefaultCheckout() } stages { stage("PollPerChange") { steps { script { checkout perforce(credential: 'MasterServer', filter: [incremental(true)], populate: autoClean(delete: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), workspace: manualSpec(charset: 'none', name: 'jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}', pinHost: false, spec: clientSpec(allwrite: false, backup: false, clobber: true, compress: false, line: 'LOCAL', locked: false, modtime: false, rmdir: false, serverID: '', streamName: '', type: 'WRITABLE', view: '//depot/pollperchange/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}/...'))) echo "In script." sh 'ls' } } } } } Add Comment
[JIRA] (JENKINS-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: Karl Wirth Priority: Minor Major 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: Karl Wirth Labels: P4_SUPPORT P4_VERIFY 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth commented on JENKINS-47427 Re: Poll per change with pipeline jobs Working with Daniel on this. 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-47427) Poll per change with pipeline jobs
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: Karl Wirth Labels: P4_SUPPORT 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-47427) Poll per change with pipeline jobs
Title: Message Title Daniel Hagström commented on JENKINS-47427 Re: Poll per change with pipeline jobs Any updates on this? Is this still not working as intended? 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-47427) Poll per change with pipeline jobs
Title: Message Title Daniel Hagström updated an issue Jenkins / JENKINS-47427 Poll per change with pipeline jobs Change By: Daniel Hagström Comment: +1 on this. I don't get why this is an option when it does nothing: the plugin pulls in all changelists since last in the build, rather than just the next one, 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-47427) Poll per change with pipeline jobs
Title: Message Title Daniel Hagström commented on JENKINS-47427 Re: Poll per change with pipeline jobs +1 on this. I don't get why this is an option when it does nothing: the plugin pulls in all changelists since last in the build, rather than just the next one, 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.