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

Test failing against Jenkins 1.651.3

    XMLWordPrintable

Details

    • Task
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • promoted-builds-plugin
    • None
    • O.S.: Mac OSX, Ubuntu 14.04
      Jenkins Version: 1.651.3
      JDK version: JDK7

    Description

      Description

      Four tests are failing for different reasons.

      • hudson.plugins.promoted_builds.conditions.inheritance.SelfPromotionInheritanceTest.testPromotionEnvironmentShouldIncludeTargetParameters is failing because of SECURITY-170
      • The rest of tests are failing because they are not compatible with Jenkins baseline 1.575+. See here

      How to reproduce

      • Compile the test
      mvn clean compile test-compile
      
      • Execute the tests against the last LTS
      mvn test -Djenkins.version=1.651.3

      Attachments

        Issue Links

          Activity

            Code changed in jenkins
            User: Raúl Arabaolaza Barquin
            Path:
            src/test/java/hudson/plugins/promoted_builds/KeepBuildForeverActionTest.java
            src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java
            src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/SelfPromotionInheritanceTest.java
            src/test/java/hudson/plugins/promoted_builds/util/ItemListenerHelper.java
            http://jenkins-ci.org/commit/promoted-builds-plugin/f7589c3c3e76f357393c6431a6412f2bc1e55ee7
            Log:
            JENKINS-36623 Fix Tests for Jenkins 1.651.3 (#95)

            • JENKINS-36623 Fix SelfPromotionInheritanceTest#testPromotionEnvironmentShouldIncludeTargetParameters to work after SECURITY-170
            • JENKINS-36623 Upgrade PromotionProcessTest to work against jenkins 1.575+
            • JENKINS-36623 Upgrade KeepBuildForeverActionTest work against jenkins 1.575+
            • JENKINS-36623 Upgrade SelfPromotionInheritanceTest to work against Jenkins 1.575+
            • JENKINS-36623 Move ItemListener invocation to an utility method
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Raúl Arabaolaza Barquin Path: src/test/java/hudson/plugins/promoted_builds/KeepBuildForeverActionTest.java src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/SelfPromotionInheritanceTest.java src/test/java/hudson/plugins/promoted_builds/util/ItemListenerHelper.java http://jenkins-ci.org/commit/promoted-builds-plugin/f7589c3c3e76f357393c6431a6412f2bc1e55ee7 Log: JENKINS-36623 Fix Tests for Jenkins 1.651.3 (#95) JENKINS-36623 Fix SelfPromotionInheritanceTest#testPromotionEnvironmentShouldIncludeTargetParameters to work after SECURITY-170 JENKINS-36623 Upgrade PromotionProcessTest to work against jenkins 1.575+ JENKINS-36623 Upgrade KeepBuildForeverActionTest work against jenkins 1.575+ JENKINS-36623 Upgrade SelfPromotionInheritanceTest to work against Jenkins 1.575+ JENKINS-36623 Code style conventions JENKINS-36623 Move ItemListener invocation to an utility method JENKINS-36623 Add TODO and mention to JENKINS-34831 JENKINS-36623 Code Style JENKINS-36623 Move ItemListenerhelper to test folder JENKINS-36623 Added TODO note
            rarabaolaza Raul Arabaolaza added a comment - - edited

            Fixed by PR-95

            rarabaolaza Raul Arabaolaza added a comment - - edited Fixed by PR-95

            People

              rarabaolaza Raul Arabaolaza
              rarabaolaza Raul Arabaolaza
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: