[JIRA] (JENKINS-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Stefan Cordes commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty Correct. Taking a look into WorkflowJob.java shows that it is kind of Workspace-Lock. 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Peter Leibiger commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty Stefan Cordes AFAIK two feature branches are two different jobs with two different workspaces. You can not prevent concurrent builds this way. 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Stefan Cordes commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty Moving properties ([ buildDiscarder(logRotator(numToKeepStr: '5')) , disableConcurrentBuilds() ]); to the very first line does not hinder 2 feature branches to build in parallel (as reported in JENKINS-35359) 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Sid S edited a comment on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty [~jglick]: When trying to make the entire operation contained in the Jenkinsfile single instanced, do we stick that inside the node block, outside the node block or inside/outside every stage block?Putting it inside the node block doesn't seem to prevent concurrent builds.node {properties([disableConcurrentBuilds()])// stages are here} 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Jesse Glick commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty properties should generally be at the very start of a 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Sid S commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty Jesse Glick: When trying to make the entire operation contained in the Jenkinsfile single instanced, do we stick that inside the node block, outside the node block or inside/outside every stage block? Putting it inside the node block doesn't seem to prevent concurrent builds. {{ node { properties([disableConcurrentBuilds()]) // stages are here } }} 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Sid S edited a comment on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty [~jglick]: When trying to make the entire operation contained in the Jenkinsfile single instanced, do we stick that inside the node block, outside the node block or inside/outside every stage block?Putting it inside the node block doesn't seem to prevent concurrent builds. {{ node {properties([disableConcurrentBuilds()])// stages are here} }} 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Jesse Glick commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty I'm not sure why we need to pass the blank pipelineTriggers([]) You do not. 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Sid S commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty Jesse Glick: Why won't you mention the actual syntax here instead of RTFM? Valentin Chartier: The syntax inside the jenkins' install itself suggests properties([disableConcurrentBuilds(), pipelineTriggers([])]) I'm not sure why we need to pass the blank pipelineTriggers([]) ... but that's what it says 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Jesse Glick commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty no, the live version inside 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Valentin Chartier commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty @Jesse : Are you refering to this "Pipeline Syntax" document https://jenkins.io/doc/book/pipeline/syntax/ ? Can you point where it addresses the issue ? 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Jesse Glick commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty See Pipeline Syntax for properties. 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Sid S commented on JENKINS-34547 Re: Make WorkflowJob.concurrentBuild into a JobProperty How do users use this in their Jenkinsfile? Can't seem to find any documentation on this ... 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Jesse Glick resolved as Fixed Jenkins / JENKINS-34547 Make WorkflowJob.concurrentBuild into a JobProperty Change By: Jesse Glick Status: In Progress Resolved Resolution: 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Andrew Bayer started work on JENKINS-34547 Change By: Andrew Bayer Status: Open In Progress 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-34547) Make WorkflowJob.concurrentBuild into a JobProperty
Title: Message Title Andrew Bayer assigned an issue to Andrew Bayer Jenkins / JENKINS-34547 Make WorkflowJob.concurrentBuild into a JobProperty Change By: Andrew Bayer Assignee: Jesse Glick Andrew Bayer 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.