[JIRA] (JENKINS-59966) Prometheus Plugin: Causes StackOverFlowerError
Title: Message Title VLADIMIR MIRONOV commented on JENKINS-59966 Re: Prometheus Plugin: Causes StackOverFlowerError Facing same issue in the same setup as metioned above. Plugin worked fine for a week i think, but at one moment i noticed that information on our dashboard stood for a week. So i went to the endpoint and made sure that metrics have not been updated for awhile. After restart of master - endpoint became empty as well as after plugin reinstallation. 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.202770.1572283306000.568.1577519040427%40Atlassian.JIRA.
[JIRA] (JENKINS-59418) withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG
Title: Message Title dan tran closed an issue as Fixed false alarm, i am able to use a local ~/.mavenrc to add additional maven param into MAVEN_CONFIG Jenkins / JENKINS-59418 withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG Change By: dan tran Status: Open Closed Resolution: Fixed 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
[JIRA] (JENKINS-60599) Closure in CPS-transformed method fails to resolve automatic property getter which implements abstract method unless "this" qualifier is provided
Title: Message Title Aaron Miller created an issue Jenkins / JENKINS-60599 Closure in CPS-transformed method fails to resolve automatic property getter which implements abstract method unless "this" qualifier is provided Issue Type: Bug Assignee: Unassigned Components: workflow-cps-plugin Created: 2019-12-27 22:59 Environment: Jenkins 2.210, workflow-cps 2.78 Labels: pipeline cps groovy Priority: Major Reporter: Aaron Miller Sample code which demonstrates the issue: abstract class SuperBuild { // If I comment this out, the problem goes away abstract String getTestString() } class Build extends SuperBuild { String testString = 'hello' // Replace above with this and it works //String getTestString() { 'hello' } // Adding @NonCPS annotation here also makes the problem go away void test() { // Works as expected assert testString == 'hello' Closure cl = { // Works as expected assert resolveStrategy == Closure.OWNER_FIRST assert getOwner() instanceof Build assert this.testString == 'hello' // Fails with: No such field found: field org.jenkinsci.plugins.workflow.cps.CpsClosure2 testString assert testString == 'hello' }() } } new Build().test()
[JIRA] (JENKINS-59418) withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG
Title: Message Title dan tran updated an issue Jenkins / JENKINS-59418 withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG Change By: dan tran My ~/.mavenrc has this line MAVEN_CONFIG=-ntpThis works locallyAt Jenkins likely clears out existing MAVEN_CONFIG set by , withMaven overwrites my MAVEN_CONFIG . Attempt withMAVEN_CONFIG=-ntp $MAVEN_CONFIGdoes not help 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.201980.1568791158000.557.1577474700159%40Atlassian.JIRA.
[JIRA] (JENKINS-59418) withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG
Title: Message Title dan tran updated an issue Jenkins / JENKINS-59418 withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG Change By: dan tran Summary: withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG overwrites withMaven MAVEN_CONFIG 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.201980.1568791158000.555.1577474640291%40Atlassian.JIRA.
[JIRA] (JENKINS-60598) Facing intermittent AD login issue with Jenkins
Title: Message Title Satyanarayana Gudimetla created an issue Jenkins / JENKINS-60598 Facing intermittent AD login issue with Jenkins Issue Type: Bug Assignee: Félix Belzunce Arcos Components: active-directory-plugin Created: 2019-12-27 18:49 Priority: Critical Reporter: Satyanarayana Gudimetla Facing intermittent AD login issue with Jenkins This issue is intermittent, we are not able to replicate it but we have seen handful of times, our AD team confirmed there are not Auth issues from their side,Is there a known bugs causes this issue? Reboot is fixed the issue most of the time. Add Comment
[JIRA] (JENKINS-53032) Support dynamic definition of parallel running stages
Title: Message Title Steve Todorov edited a comment on JENKINS-53032 Re: Support dynamic definition of parallel running stages I've answered a similar question at [devops.stackexchange.com|https://devops.stackexchange.com/questions/9887/how-to-define-dynamic-parallel-stages-in-a-jenkinsfile]. I believe this is a bit overcomplicated and it should probably the Jenkins team should probably think of a way to simplify the way how dynamic stages (be they parallel or not) can be used in a declarative pipeline. 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.193020.1534242389000.549.1577470142475%40Atlassian.JIRA.
[JIRA] (JENKINS-53032) Support dynamic definition of parallel running stages
Title: Message Title Steve Todorov commented on JENKINS-53032 Re: Support dynamic definition of parallel running stages I've answered a similar question at devops.stackexchange.com. I believe this is a bit overcomplicated and it should probably the Jenkins team should think of a way to simplify the way dynamic stages (be they parallel or not) can be used in a declarative pipeline. 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.193020.1534242389000.545.1577469540170%40Atlassian.JIRA.
[JIRA] (JENKINS-58727) Misleading log message when no e-mail is sent
Title: Message Title Shiv H commented on JENKINS-58727 Re: Misleading log message when no e-mail is sent i too facing same issue 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.201021.1564483585000.535.1577468760380%40Atlassian.JIRA.
[JIRA] (JENKINS-59865) Bogus Scala Compiler warning about missing files after test failure in sbt
Title: Message Title Jarred Parrett edited a comment on JENKINS-59865 Re: Bogus Scala Compiler warning about missing files after test failure in sbt Thank you for the direction - it made it much easier to recreate. In working on it, I think its test class was SbtScalacParserTest.java; I ran that with a custom text file that contained the content from sbtScalac.txt with the addition of the above line. The test then fails as it expects 4 errors in the report but gets 5. To resolve this, I changed the SbtScalacParser.java to include the negative lookahead statement -{ { code:java} "^(\\[warn\\]|\\[error\\] (?!\\s+Total\\stime: ) ) \\s*(.*?):(\\d+)(?::\\d+)?:\\s*(.*)$" ; {code } } Thank you for your help 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.202604.1571658262000.530.1577462460192%40Atlassian.JIRA.
[JIRA] (JENKINS-59865) Bogus Scala Compiler warning about missing files after test failure in sbt
Title: Message Title Jarred Parrett edited a comment on JENKINS-59865 Re: Bogus Scala Compiler warning about missing files after test failure in sbt Thank you for the direction - it made it much easier to recreate. In working on it, I think its test class was SbtScalacParserTest.java; I ran that with a custom text file that contained the content from sbtScalac.txt with the addition of the above line. The test then fails as it expects 4 errors in the report but gets 5. To resolve this, I changed the SbtScalacParser.java to include the negative lookahead statement -{{ "^(\\[warn\\]|\\[error\\])\\s*(.*?):(\\d+)(?::\\d+)?:\\s*(.*)$"; }} Thank you for your help 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.202604.1571658262000.528.1577462400304%40Atlassian.JIRA.
[JIRA] (JENKINS-59865) Bogus Scala Compiler warning about missing files after test failure in sbt
Title: Message Title Jarred Parrett edited a comment on JENKINS-59865 Re: Bogus Scala Compiler warning about missing files after test failure in sbt Thank you for the direction - it made it much easier to recreate. In working on it, I think its test class was SbtScalacParserTest.java; I ran that with a custom text file that contained the content from sbtScalac.txt with the addition of the above line. The test then fails as it expects 4 errors in the report but gets 5. To resolve this, I changed the SbtScalacParser.java to include the negative lookahead statement -"^(\\[warn\\]|\\[error\\] +(?!\\s+Total\\stime: ) +) \\s*(.*?):(\\d+)(?::\\d+)?:\\s*(.*)$" ; Thank you for your help 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.202604.1571658262000.522.1577462340208%40Atlassian.JIRA.
[JIRA] (JENKINS-59865) Bogus Scala Compiler warning about missing files after test failure in sbt
Title: Message Title Jarred Parrett commented on JENKINS-59865 Re: Bogus Scala Compiler warning about missing files after test failure in sbt Thank you for the direction - it made it much easier to recreate. In working on it, I think its test class was SbtScalacParserTest.java; I ran that with a custom text file that contained the content from sbtScalac.txt with the addition of the above line. The test then fails as it expects 4 errors in the report but gets 5. To resolve this, I changed the SbtScalacParser.java to include the negative lookahead statement - "^(\\[warn\\]|\\[error\\](?!\\s+Totalstime)s*(.?)\\d+)(?::\\d+)?:s(.*)$" Thank you for your help 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.202604.1571658262000.518.1577462280208%40Atlassian.JIRA.
[JIRA] (JENKINS-60597) Break out AbstractProject-independent components of Promotion/PromotionProcess to new classes
Title: Message Title Oleg Nenashev updated an issue Jenkins / JENKINS-60597 Break out AbstractProject-independent components of Promotion/PromotionProcess to new classes Change By: Oleg Nenashev Issue Type: Task Improvement 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.203819.1577458076000.516.1577458140105%40Atlassian.JIRA.
[JIRA] (JENKINS-60597) Break out AbstractProject-independent components of Promotion/PromotionProcess to new classes
Title: Message Title Oleg Nenashev created an issue Jenkins / JENKINS-60597 Break out AbstractProject-independent components of Promotion/PromotionProcess to new classes Issue Type: Task Assignee: Oleg Nenashev Components: promoted-builds-plugin Created: 2019-12-27 14:47 Priority: Minor Reporter: Oleg Nenashev Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this
[JIRA] (JENKINS-57903) New PromotionProcess,PromotionCondition and PromotionConditionDescriptor classes for the plugin.
Title: Message Title Oleg Nenashev updated an issue Jenkins / JENKINS-57903 New PromotionProcess,PromotionCondition and PromotionConditionDescriptor classes for the plugin. Change By: Oleg Nenashev Before implementing the promotion-conditions(Self and Manual Conditions), it seems necessary to build new abstract/classes for the following existing classes. * PromotionProcess * PromotionCondition * PromotionConditionDescriptorFor readability ease all these classes are being added by the word "Pipeline" as their prefix.Three new analogous classes are being made retaining some of the original functions and will timely be updated as other classes start depending on them.Acceptance criteria: * The classes are created, and they can be used in further APIs. There is is no user-facing feature for now * The classes are marked as Restricted so that they not a part of API. It will change eventually * There is basic test automation that these classes really work Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-60591) checkout scm doesn't take revision that started the pipeline
Title: Message Title Mark Waite edited a comment on JENKINS-60591 Re: checkout scm doesn't take revision that started the pipeline I've confirmed the code behaves as described in a multibranch pipeline. I'm not sure if the issue is in the git plugin or in the pipeline plugin that provides the configuration for the {{checkout scm}} step or in the use of the scm step.The test job that I created uses a scripted multibranch pipeline to wait 90 seconds before performing the first checkout. During the 90 seconds while the job is waiting, another process pushes a new commit to the central repository. The {{checkout scm}} step then runs and takes the new commit instead of taking the commit that provided the Jenkinsfile.Refer to the [verification job|https://github.com/MarkEWaite/jenkins-bugs/blob/JENKINS-60591/Jenkinsfile] on the [JENKINS-60591 branch|https://github.com/MarkEWaite/jenkins-bugs/tree/JENKINS-60591] of my [jenkins-bugs repository|https://github.com/MarkEWaite/jenkins-bugs].Declarative pipeline could likely create the same conditions by disabling default checkout. I haven't checked the behavior with pipelines that are not multibranch. The documentation for the {{scm}} variable in a non-multibranch pipeline says:bq. Represents the SCM configuration in a multibranch project build. Use checkout scm to check out sources matching Jenkinsfile. You may also use this in a standalone project configured with Pipeline from SCM, though in that case the checkout will just be of the latest revision in the branch, possibly newer than the revision from which the Pipeline was loaded.I interpret that to mean that if you're expecting to get the version which matches the Jenkinsfile in a non-multibranch Pipeline, you will need to specifically request it. I've confirmed that interpretation is correct. When a pipeline that is not multibranch retrieves the Jenkinsfile from SCM using a lightweight checkout, it reports "Obtained Jenkinsfile from https://github.com/MarkEWaite/jenkins-bugs". When it is not a lightweight checkout, it does not report 'Obtained Jenkinsfile' in the log at all. When the same is done in a multibranch pipeline, it reports 'Obtained Jenkinsfile from '. Add Comment
[JIRA] (JENKINS-60596) PromotedBuildAction should implement the RunAction2Interface
Title: Message Title Oleg Nenashev created an issue Jenkins / JENKINS-60596 PromotedBuildAction should implement the RunAction2Interface Issue Type: Bug Assignee: Oleg Nenashev Components: promoted-builds-plugin Created: 2019-12-27 14:27 Priority: Minor Reporter: Oleg Nenashev If we want to make the plugin compatible with Jenkins Pipeline, we need to update the stored data accordingly Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-60596) PromotedBuildAction should implement the RunAction2Interface
Title: Message Title Oleg Nenashev updated an issue Jenkins / JENKINS-60596 PromotedBuildAction should implement the RunAction2Interface Change By: Oleg Nenashev Issue Type: Bug Improvement 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.203818.1577456837000.508.1577456880208%40Atlassian.JIRA.
[JIRA] (JENKINS-60591) checkout scm doesn't take revision that started the pipeline
Title: Message Title Mark Waite edited a comment on JENKINS-60591 Re: checkout scm doesn't take revision that started the pipeline I've confirmed the code behaves as described in a multibranch pipeline. I'm not sure if the issue is in the git plugin or in the pipeline plugin that provides the configuration for the {{checkout scm}} step or in the use of the scm step.The test job that I created uses a scripted multibranch pipeline to wait 90 seconds before performing the first checkout. During the 90 seconds while the job is waiting, another process pushes a new commit to the central repository. The {{checkout scm}} step then runs and takes the new commit instead of taking the commit that provided the Jenkinsfile.Refer to the [verification job|https://github.com/MarkEWaite/jenkins-bugs/blob/JENKINS-60591/Jenkinsfile] on the [JENKINS-60591 branch|https://github.com/MarkEWaite/jenkins-bugs/tree/JENKINS-60591] of my [jenkins-bugs repository|https://github.com/MarkEWaite/jenkins-bugs].Declarative pipeline could likely create the same conditions by disabling default checkout.I haven't checked the behavior with pipelines that are not multibranch. The documentation for the {{scm}} variable in a non-multibranch pipeline says:bq. Represents the SCM configuration in a multibranch project build. Use checkout scm to check out sources matching Jenkinsfile. You may also use this in a standalone project configured with Pipeline from SCM, though in that case the checkout will just be of the latest revision in the branch, possibly newer than the revision from which the Pipeline was loaded.I interpret that to mean that if you're expecting to get the version which matches the Jenkinsfile in a non-multibranch Pipeline, you will need to specifically request it. I've confirmed that interpretation is correct. When a pipeline that is not multibranch retrieves the Jenkinsfile from SCM using a lightweight checkout, it reports "Obtained Jenkinsfile from \ https://github.com/MarkEWaite/jenkins-bugs". When it is not a lightweight checkout, it does not report 'Obtained Jenkinsfile' in the log at all. When the same is done in a multibranch pipeline, it reports 'Obtained Jenkinsfile from '. Add Comment
[JIRA] (JENKINS-60591) checkout scm doesn't take revision that started the pipeline
Title: Message Title Mark Waite edited a comment on JENKINS-60591 Re: checkout scm doesn't take revision that started the pipeline I've confirmed the code behaves as described in a multibranch pipeline. I'm not sure if the issue is in the git plugin or in the pipeline plugin that provides the configuration for the {{checkout scm}} step or in the use of the scm step.The test job that I created uses a scripted multibranch pipeline to wait 90 seconds before performing the first checkout. During the 90 seconds while the job is waiting, another process pushes a new commit to the central repository. The {{checkout scm}} step then runs and takes the new commit instead of taking the commit that provided the Jenkinsfile.Refer to the [verification job|https://github.com/MarkEWaite/jenkins-bugs/blob/JENKINS-60591/Jenkinsfile] on the [JENKINS-60591 branch|https://github.com/MarkEWaite/jenkins-bugs/tree/JENKINS-60591] of my [jenkins-bugs repository|https://github.com/MarkEWaite/jenkins-bugs].Declarative pipeline could likely create the same conditions by disabling default checkout.I haven't checked the behavior with pipelines that are not multibranch. The documentation for the {{scm}} variable in a non-multibranch pipeline says:bq. Represents the SCM configuration in a multibranch project build. Use checkout scm to check out sources matching Jenkinsfile. You may also use this in a standalone project configured with Pipeline from SCM, though in that case the checkout will just be of the latest revision in the branch, possibly newer than the revision from which the Pipeline was loaded.I interpret that to mean that if you're expecting to get the version which matches the Jenkinsfile in a non-multibranch Pipeline, you will need to specifically request it. I've confirmed that interpretation is correct. When a pipeline that is not multibranch retrieves the Jenkinsfile from SCM using a lightweight checkout, it reports "Obtained Jenkinsfile from \ https://github.com/MarkEWaite/jenkins-bugs". When it is not a lightweight checkout, it does not report 'Obtained Jenkinsfile' in the log at all. When the same is done in a multibranch pipeline, it reports 'Obtained Jenkinsfile from '. Add Comment
[JIRA] (JENKINS-60591) checkout scm doesn't take revision that started the pipeline
Title: Message Title Mark Waite edited a comment on JENKINS-60591 Re: checkout scm doesn't take revision that started the pipeline I've confirmed the code behaves as described in a multibranch pipeline. I'm not sure if the issue is in the git plugin or in the pipeline plugin that provides the configuration for the {{checkout scm}} step or in the use of the scm step.The test job that I created uses a scripted multibranch pipeline to wait 90 seconds before performing the first checkout. During the 90 seconds while the job is waiting, another process pushes a new commit to the central repository. The {{checkout scm}} step then runs and takes the new commit instead of taking the commit that provided the Jenkinsfile.Refer to the [verification job|https://github.com/MarkEWaite/jenkins-bugs/blob/JENKINS-60591/Jenkinsfile] on the [JENKINS-60591 branch|https://github.com/MarkEWaite/jenkins-bugs/tree/JENKINS-60591] of my [jenkins-bugs repository|https://github.com/MarkEWaite/jenkins-bugs].Declarative pipeline could likely create the same conditions by disabling default checkout.I haven't checked the behavior with pipelines that are not multibranch. The documentation for the {{scm}} variable in a non-multibranch pipeline says:bq. Represents the SCM configuration in a multibranch project build. Use checkout scm to check out sources matching Jenkinsfile. You may also use this in a standalone project configured with Pipeline from SCM, though in that case the checkout will just be of the latest revision in the branch, possibly newer than the revision from which the Pipeline was loaded.I interpret that to mean that if you're expecting to get the version which matches the Jenkinsfile in a non-multibranch Pipeline, you will need to specifically request it. I've confirmed that interpretation is correct. When a pipeline that is not multibranch retrieves the Jenkinsfile from SCM using a lightweight checkout, it reports "Obtained Jenkinsfile from https://github.com/MarkEWaite/jenkins-bugs". When it is not a lightweight checkout, it does not report 'Obtained Jenkinsfile' in the log at all. When the same is done in a multibranch pipeline, it reports 'Obtained Jenkinsfile from '. Add Comment
[JIRA] (JENKINS-60591) checkout scm doesn't take revision that started the pipeline
Title: Message Title Mark Waite edited a comment on JENKINS-60591 Re: checkout scm doesn't take revision that started the pipeline I've confirmed the code behaves as described in a multibranch pipeline . I'm not sure if the issue is in the git plugin or in the pipeline plugin that provides the configuration for the {{checkout scm}} step or in the use of the scm step.The test job that I created uses a scripted multibranch pipeline to wait 90 seconds before performing the first checkout. During the 90 seconds while the job is waiting, another process pushes a new commit to the central repository. The {{checkout scm}} step then runs and takes the new commit instead of taking the commit that provided the Jenkinsfile.Refer to the [verification job|https://github.com/MarkEWaite/jenkins-bugs/blob/JENKINS-60591/Jenkinsfile] on the [JENKINS-60591 branch|https://github.com/MarkEWaite/jenkins-bugs/tree/JENKINS-60591] of my [jenkins-bugs repository|https://github.com/MarkEWaite/jenkins-bugs].Declarative pipeline could likely create the same conditions by disabling default checkout.I haven't checked the behavior with pipelines that are not multibranch. The documentation for the {{scm}} variable in a non-multibranch pipeline says:bq. Represents the SCM configuration in a multibranch project build. Use checkout scm to check out sources matching Jenkinsfile. You may also use this in a standalone project configured with Pipeline from SCM, though in that case the checkout will just be of the latest revision in the branch, possibly newer than the revision from which the Pipeline was loaded.I interpret that to mean that if you're expecting to get the version which matches the Jenkinsfile in a non-multibranch Pipeline, you will need to specifically request it. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-60595) Jenkins Multiple node to auto pick UFT test for execution serially
Title: Message Title Govind Sureka created an issue Jenkins / JENKINS-60595 Jenkins Multiple node to auto pick UFT test for execution serially Issue Type: Improvement Assignee: Maria Narcisa Galan Components: hp-application-automation-tools-plugin Created: 2019-12-27 13:45 Environment: Jenkins: CloudBees Enterprise jenkins ALM: 12.55 UFT: 14.03 Priority: Major Reporter: Govind Sureka Objective: Parallel execution of Test cases of UFT on different machines from one location of ALM. Current Situation: We have 3 nodes available on CloudBees Jenkins for any job execution. When we design any UFT Jenkins job, there we mention multiple nodes in the 'General' section. In the Build section we are using plugin: Execute Micro Focus functional tests from Micro Focus ALM and mention the machine on which we want to execute the UFT test cases. On triggering this job it will execute the UFT test cases on the mentioned machine using available node. Improvement Expected: Want a way to specify multiple machines (workstation) in the build section of job so that Jenkins can pick 1 Test case on 1 machine and next test case on other available machine. The machines can node or any other mentioned machine. We want to have parallel execution of UFT test cases from 1 job so that if there are 10 Test cases and 10 machines are available then all should run in Parallel on different machines.
[JIRA] (JENKINS-57566) Default security prohibits ResultAction's getResult
Title: Message Title Ulli Hafner commented on JENKINS-57566 Re: Default security prohibits ResultAction's getResult Since a couple of other users requested such a change I am reopening this issue. If we carefully decide which API methods should be made accessible, then we should manage it to make the API not vulnerable. 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.199480.1558369817000.492.1577452140117%40Atlassian.JIRA.
[JIRA] (JENKINS-57566) Default security prohibits ResultAction's getResult
Title: Message Title Ulli Hafner reopened an issue Jenkins / JENKINS-57566 Default security prohibits ResultAction's getResult Change By: Ulli Hafner Resolution: Won't Fix Status: Resolved Reopened 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.199480.1558369817000.490.1577452020442%40Atlassian.JIRA.
[JIRA] (JENKINS-60594) workflow-scm-step plugin does not use global credentials if used inside shared library
Title: Message Title Ulrich Lohrmann closed an issue as Not A Defect PEBKAC (Probelm exists between keyboard and chair). Jenkins / JENKINS-60594 workflow-scm-step plugin does not use global credentials if used inside shared library Change By: Ulrich Lohrmann Status: Open Closed Resolution: Not A Defect 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
[JIRA] (JENKINS-60500) Break out the Promotion API plugin
Title: Message Title Oleg Nenashev commented on JENKINS-60500 Re: Break out the Promotion API plugin My plan is to do refactoring as a single plugin at the moment 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.203591.1576499557000.487.1577450040141%40Atlassian.JIRA.
[JIRA] (JENKINS-60500) Break out the Promotion API plugin
Title: Message Title Oleg Nenashev commented on JENKINS-60500 Re: Break out the Promotion API plugin This is a draft pull request which explores ways to split the plugin to two ones. Promotion's Permission entities look to be a major showstopper on this way, but just in case. Research summary: Promotion is unsolvable knot if we want to retain binary compatibility Permission engine in Jenkins relies on Permission Groups, which reference class explicitly. In order to retain Permissions Promotion class has to be in promotion API Promotion is also a persisted object on the disk. We could use XStream features to rename the class and move all run entries. It would split the class to two... somehow Promotion and PromotionProcess are a part of the API used by other plugins. Class Renaming will not help unless full interface is retained. It includes fields, and hence it has to be class inheritance. Hence we have to keep public abstract class PromotionProcess extends AbstractProject implements Saveable, Describable in promotion API with class relocation AbstractClass#getBuildClass() }}requires an exact class. And this is the end of the story for us, because the template declares {{PromotionProcess, and hence splitting classes is not possible. So it is not possible to retain binary compatibility and to avoid pbreaking changes, at least without sophisticated Jenkins core patches. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-27413) Handle file parameters
Title: Message Title Vin Win commented on JENKINS-27413 Re: Handle file parameters Hi James Hogarth - Does the solution works for binary/zip file. Tried using groovy script & respective one on Jenkins pipleline, but it doesn't seem to work for zip (Can not open file 'fileName.zip' as archive') or binary file uploaded. Would like to know if this is been considered in future releases ? 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.161212.1426248363000.383.1577448782340%40Atlassian.JIRA.
[JIRA] (JENKINS-60594) workflow-scm-step plugin does not use global credentials if used inside shared library
Title: Message Title Ulrich Lohrmann created an issue Jenkins / JENKINS-60594 workflow-scm-step plugin does not use global credentials if used inside shared library Issue Type: Bug Assignee: Unassigned Components: workflow-scm-step-plugin Created: 2019-12-27 11:26 Environment: Jenkins 2.204.1 Credentials plugin 2.3.0 Credentials Binding Plugin 1.20 Pipeline SCM Step plugin 2.9 Priority: Minor Reporter: Ulrich Lohrmann When executing a GIT checkout with a SSH URL I can provide a credetialID (username with private key file) and the GIT repository is cloned using the credentials provided. So far so good. If I now move the checkout directive into a custom tag of a shared library and provide the credentialID from outside, the use of the credentials fails and the GIT repository cannot be accessed. GIT checkout from within pipeline script (works): checkout([$class: 'GitSCM', branches: [[name: "MyBranch"]], doGenerateSubmoduleConfigurations: false, extensions: optionalExtensions, submoduleCfg: [], userRemoteConfigs: [[url: 'ssh://..'], [credentialsId: 'MyGitCredentials']]) For easier use of the checkout command, I created a custom tag in a shared library that ony takes a subset of the possible arguments. import groovy.transform.Field @Field def zielverzeichnis @Field def url @Field def
[JIRA] (JENKINS-60104) Agent to Master Access Control rule throws java exception
Title: Message Title Dennis Tran commented on JENKINS-60104 Re: Agent to Master Access Control rule throws java exception I got the same issue in Jenkins ver. 2.190.1 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.202950.1573212865000.380.1577438340143%40Atlassian.JIRA.
[JIRA] (JENKINS-60593) Unable to run a background process using sshCommand
Title: Message Title Madan Kv created an issue Jenkins / JENKINS-60593 Unable to run a background process using sshCommand Issue Type: Bug Assignee: Naresh Rayapati Components: ssh-steps-plugin Created: 2019-12-27 08:40 Environment: Linux 2.6.32-754.14.2.el6.x86_64 Jenkins ver. 2.150.3 Labels: ssh-steps-plugin sshCommand backgroundprocess Priority: Minor Reporter: Madan Kv I'm trying to run the below command as background process and it seems successful, but it doesn't create any log file mentioned in the command. sshCommand remote: remote, failOnError: true, command: 'sar 2 10 -r > sar-mem.log &', sudo: true Add Comment