[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Dibakar Aditya edited a comment on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle [~vincenzo_cerbone], I have tried both the Declarative and Scripted approach that you suggested on Jenkins 2.204.1 with the latest version of plugins. Though the I can see the quiet period being set in the job configuration page of the branch, multibranch still chooses to ignore 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.173704.1471877153000.9323.1580461261090%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Dibakar Aditya commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle vincenzo cerbone, tried both the Declarative and Scripted approach that you suggested on Jenkins 2.204.1 with the latest version of plugins. Though the I can see the quiet period being set in the job configuration page of the branch, multibranch still chooses to ignore 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.173704.1471877153000.9274.1580458801017%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title vincenzo cerbone commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle Dibakar Aditya I tested it (Declarative) in multibranch as Oliver Mueller reported and I had luck to see it working. Unfortunately I needed it to work in scripted mode because JTE (Jenking Template Engine) does not support Declarative. I ended up using this instruction and it works! }}{{currentBuild.rawBuild.getParent().setQuietPeriod(10){{}} About maven-release-plugin, I prefer not to use it anymor. Now I'm using : https://github.com/aleksandr-m/gitflow-maven-plugin{{}} 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.173704.1471877153000.6361.1580116866754%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Dibakar Aditya edited a comment on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle [~vincenzo_cerbone], did you see any success using this in a multibranch pipeline project? In our setup, the Declarative syntax with standalone pipeline project works as intended, but not in multibranch yet. This functionality is much needed, especially with the maven release plugin. 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.173704.1471877153000.6151.1580099641004%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Dibakar Aditya commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle vincenzo cerbone, did you see any success using this in a multibranch pipeline project? In our setup, the Declarative syntax with standalone pipeline project works as intended, not in multibranch yet. 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.173704.1471877153000.6102.1580099581052%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title vincenzo cerbone commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle Successfully tested with Declarative (Jenkins 2.200) but had no luck to set it in Scripted fashion. As someone stated before, there's no way neither to get it generated with pipeline-syntax generator, nor trying something like this: properties([ pipelineTriggers([ [ $class: 'HudsonStartupTrigger', quietPeriod: '2' ] ]) ]) will produce: no known implementation of class hudson.triggers.Trigger is named HudsonStartupTrigger 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.173704.1471877153000.4216.1578441061154%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Javi Martin commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle we are facing the same problem (Jenkins 2.190.1, Multibranch 2.21 and Declarative 1.3.9). The quietPeriod option seems to be working when calling the job from another job by sending the branch name in the URL "/projects/Build-MultibranchProject/master", but it does not work when the webhook calls the Multibranch project. Multibranch plugin seems to be executing the required branch job doing a "Build now" and it bypasses the quietPeriod options. 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.173704.1471877153000.3669.1570603201300%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Oliver Mueller edited a comment on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle We are using Jenkins 2.195, Multibranch 2.21 and Declarative version 1.3.9 and .Option quietPeriod seems to be accepted, but it does not NOT seem to work .We are using a declarative multibranch pipeline with these options : {code:java} pipeline { agent any options { quietPeriod 1200 timeout(time: 4, unit: 'HOURS') disableConcurrentBuilds()} ... {code}The pipeline will get executed immediately. 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.173704.1471877153000.3310.1569248460925%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Oliver Mueller commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle We are using Declarative version 1.3.9 and quietPeriod does not seem to work: options { quietPeriod 1200 timeout(time: 4, unit: 'HOURS') disableConcurrentBuilds() } The pipeline will get executed immediately. 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.173704.1471877153000.3204.1569245640995%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Oliver Mueller updated an issue Jenkins / JENKINS-37588 Multibranch pipeline does not allow quiet time or throttle Change By: Oliver Mueller Comment: A very important hint is, that the quietPeriod option has to be written *WITHOUT* braces:so instead of writing:{code:java}quietPeriod(600){code}you need to write:{code:java}quietPeriod 600{code}jenkins will not give you a notice, warning or anything alike when using it with braces. 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.173704.1471877153000.3157.156921486%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Oliver Mueller commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle A very important hint is, that the quietPeriod option has to be written WITHOUT braces: so instead of writing: quietPeriod(600) you need to write: quietPeriod 600 jenkins will not give you a notice, warning or anything alike when using it with braces. 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.173704.1471877153000.3020.1569242520839%40Atlassian.JIRA.
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Yan Corneille commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle As noticed by Jesse Glick comment-350957 this does not seem to be available in Scripted pipelines. Are there any plans for that ? 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-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title John Muczynski commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle Ooph, my bad. I didn't make sure to update Declarative to version 1.3.2 It looks like it is accepting the quietPeriod now, after updating blue ocean. 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-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title John Muczynski commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle Ah, okay, as Jesse commented on the other issue: "Nothing to do with Declarative vs. Scripted, only multibranch vs. standalone." options { buildDiscarder(logRotator(numToKeepStr: '90', artifactNumToKeepStr: '5')) retry(1) skipDefaultCheckout() disableConcurrentBuilds() quietPeriod(600) } org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 350: Invalid option type "quietPeriod". Valid option types: [buildDiscarder, catchError, disableConcurrentBuilds, overrideIndexTriggers, retry, script, skipDefaultCheckout, skipStagesAfterUnstable, timeout, timestamps, waitUntil, withContext, withCredentials, withEnv, ws] @ line 350, column 9. quietPeriod(600) ^ General error during semantic analysis: There's no @DataBoundConstructor on any constructor of class jenkins.model.GlobalQuietPeriodConfiguration org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class jenkins.model.GlobalQuietPeriodConfiguration at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:265) at org.jenkinsci.plugins.structs.describable.DescribableModel.(DescribableModel.java:122) 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-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title John Muczynski commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle We do already use rate limiting (1 build at a time). Well, the Declarative Pipeline support might work for me. I'll have to get a new Jenkins version ... We're using multibranch pipelines. pipeline { agent any options {| | | | quietPeriod(15)| | | | } 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
[JIRA] (JENKINS-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Jesse Glick commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle Rate limiting is possible, though, as far as I know. 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-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Jesse Glick commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle Was already implemented for Declarative Pipeline (JENKINS-51227), but is apparently not available in Scripted. 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-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title John Muczynski commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle We have one project which needs a large quiet time while multiple commits are manually handled. But all the other projects have simple atomic commits. So we're in this battle of setting the global quiet time to 6 minutes vs 1 minute. So this feature would help. I'd run two Jenkins masters to solve the issue, but that hits other snags. We have several Jenkins worker machines that are needed for all these projects and the workers can't be shared among multiple masters. 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-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Semyon Levin commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle We have quite complex dependencies and really need throttling options in Jenkinsfile... 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-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Adam Krapfl commented on JENKINS-37588 Re: Multibranch pipeline does not allow quiet time or throttle I feel there are legitimate use cases for this. Jesse Glick can you explain why this is no longer needed? I'm struggling to come up with alternative approaches in a Jenkinsfile without a quiet period. 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-37588) Multibranch pipeline does not allow quiet time or throttle
Title: Message Title Felix Barros updated an issue Jenkins / JENKINS-37588 Multibranch pipeline does not allow quiet time or throttle Change By: Felix Barros Summary: Multibranch pipleine pipeline does not allow quiet time or throttle 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.