Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38641

Milestone step fails to pass due to deleted/future builds having passed

    XMLWordPrintable

Details

    Description

      23:35:58 Trying to pass milestone 0
      23:35:58 Canceled since build #6 already got here
      [Pipeline] }

      But this is build #4 - which is the latest build! The newer builds have been deleted. So the milestone step plugin should consider what is the latest currently available build - not the highest number in history.

      Attachments

        Issue Links

          Activity

            Code changed in jenkins
            User: Antonio Muniz
            Path:
            http://jenkins-ci.org/commit/pipeline-milestone-step-plugin/9826f7a8996a54c5fe6fbb7ee5414fe9dc2cd673
            Log:
            Merge branch 'master' into JENKINS-38641

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muniz Path: http://jenkins-ci.org/commit/pipeline-milestone-step-plugin/9826f7a8996a54c5fe6fbb7ee5414fe9dc2cd673 Log: Merge branch 'master' into JENKINS-38641

            Code changed in jenkins
            User: Antonio Muniz
            Path:
            .gitignore
            src/main/java/org/jenkinsci/plugins/pipeline/milestone/MilestoneStepExecution.java
            src/test/java/org/jenkinsci/plugins/pipeline/milestone/CleaupJobsTest.java
            http://jenkins-ci.org/commit/pipeline-milestone-step-plugin/a0434815e3d37cfce9ced2ee97b957cf650017f4
            Log:
            Merge pull request #6 from amuniz/JENKINS-38641

            [FIX JENKINS-38641] Clean up tracked jobs on deleted

            Compare: https://github.com/jenkinsci/pipeline-milestone-step-plugin/compare/5077e3a1200b...a0434815e3d3

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Antonio Muniz Path: .gitignore src/main/java/org/jenkinsci/plugins/pipeline/milestone/MilestoneStepExecution.java src/test/java/org/jenkinsci/plugins/pipeline/milestone/CleaupJobsTest.java http://jenkins-ci.org/commit/pipeline-milestone-step-plugin/a0434815e3d37cfce9ced2ee97b957cf650017f4 Log: Merge pull request #6 from amuniz/ JENKINS-38641 [FIX JENKINS-38641] Clean up tracked jobs on deleted Compare: https://github.com/jenkinsci/pipeline-milestone-step-plugin/compare/5077e3a1200b...a0434815e3d3
            rnewsom Ryan Newsom added a comment -

            hmm running into this right now. What version was this fixed in?

            rnewsom Ryan Newsom added a comment - hmm running into this right now. What version was this fixed in?

            amuniz Could you please release the plugins version that include this fix?

            The last version, 1.3.1 is 2 years old.

            pascallap Pascal Laporte added a comment - amuniz Could you please release the plugins version that include this fix? The last version, 1.3.1 is 2 years old.

            We have the same problems. We had to delete many jobs and recreate them again.

            And now we the same situation when builds are being aborted.

            When are you going release fixed version?

            gdan2000 Gregory Danenberg added a comment - We have the same problems. We had to delete many jobs and recreate them again. And now we the same situation when builds are being aborted. When are you going release fixed version?

            People

              amuniz Antonio Muñiz
              davidkarlsen davidkarlsen
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: