Details
-
Task
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
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
- links to
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-36623Fix Tests for Jenkins 1.651.3 (#95)JENKINS-36623Fix SelfPromotionInheritanceTest#testPromotionEnvironmentShouldIncludeTargetParameters to work after SECURITY-170JENKINS-36623Upgrade PromotionProcessTest to work against jenkins 1.575+JENKINS-36623Upgrade KeepBuildForeverActionTest work against jenkins 1.575+JENKINS-36623Upgrade SelfPromotionInheritanceTest to work against Jenkins 1.575+JENKINS-36623Code style conventionsJENKINS-36623Move ItemListener invocation to an utility methodJENKINS-36623Add TODO and mention to JENKINS-34831JENKINS-36623Code StyleJENKINS-36623Move ItemListenerhelper to test folderJENKINS-36623Added TODO note