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
Activity
Field | Original Value | New Value |
---|---|---|
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](https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56). *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` |
*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|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56] *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` |
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|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56] *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` |
*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|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56] *How to reproduce: * Compile the test {noformat} mvn clean compile test-compile {noformat} * Execute the tests against the last LTS {mvn test -Djenkins.version=1.651.3} |
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|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56] *How to reproduce: * Compile the test {noformat} mvn clean compile test-compile {noformat} * Execute the tests against the last LTS {mvn test -Djenkins.version=1.651.3} |
*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|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56] *How to reproduce: * Compile the test {noformat} mvn clean compile test-compile {noformat} * Execute the tests against the last LTS {noformat}mvn test -Djenkins.version=1.651.3{noformat} |
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|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56] *How to reproduce: * Compile the test {noformat} mvn clean compile test-compile {noformat} * Execute the tests against the last LTS {noformat}mvn test -Djenkins.version=1.651.3{noformat} |
*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|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56] *How to reproduce:* * Compile the test {noformat} mvn clean compile test-compile {noformat} * Execute the tests against the last LTS {noformat}mvn test -Djenkins.version=1.651.3{noformat} |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remote Link | This issue links to "PR-95 (Web Link)" [ 14611 ] |
Workflow | JNJira [ 173344 ] | JNJira + In-Review [ 185828 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
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|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56] *How to reproduce:* * Compile the test {noformat} mvn clean compile test-compile {noformat} * Execute the tests against the last LTS {noformat}mvn test -Djenkins.version=1.651.3{noformat} |
h4. 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|https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/test/java/hudson/plugins/promoted_builds/PromotionProcessTest.java#L56] h4. How to reproduce * Compile the test {noformat} mvn clean compile test-compile {noformat} * Execute the tests against the last LTS {noformat}mvn test -Djenkins.version=1.651.3{noformat} |
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