From ec9c429dc7e35a7cb50631e7aad2cba9f00d22e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Evaristo=20Gutie=CC=81rrez?= Date: Mon, 12 Jun 2017 10:20:12 +0200 Subject: [PATCH] [JENKINS-44266] Use full ids for issues. --- .../plugins/promoted_builds/ConfigurationDoCheckTest.java | 4 ++-- .../plugins/promoted_builds/ConfigurationRoundtripTest.java | 2 +- .../java/hudson/plugins/promoted_builds/RemoteApiTest.java | 2 +- .../conditions/DownstreamPassConditionTest.java | 2 +- .../promoted_builds/conditions/ManualConditionBug22005.java | 2 +- .../plugins/promoted_builds/conditions/SelfPromotionTest.java | 4 ++-- .../inheritance/DownstreamPassConditionInheritanceTest.java | 2 +- .../conditions/inheritance/SelfPromotionInheritanceTest.java | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/test/java/hudson/plugins/promoted_builds/ConfigurationDoCheckTest.java b/src/test/java/hudson/plugins/promoted_builds/ConfigurationDoCheckTest.java index 12f07f20..9cd12411 100644 --- a/src/test/java/hudson/plugins/promoted_builds/ConfigurationDoCheckTest.java +++ b/src/test/java/hudson/plugins/promoted_builds/ConfigurationDoCheckTest.java @@ -21,7 +21,7 @@ public class ConfigurationDoCheckTest { @Rule public JenkinsRule j = new JenkinsRule(); - @Issue("7972") + @Issue("JENKINS-7972") @Test public void testCheckProcessNameRequired() throws Exception { FreeStyleProject down = j.createFreeStyleProject(); @@ -44,7 +44,7 @@ public void testCheckProcessNameRequired() throws Exception { } - @Issue("7972") + @Issue("JENKINS-7972") @Test public void testCheckInvalidProcessName() throws Exception { FreeStyleProject down = j.createFreeStyleProject(); diff --git a/src/test/java/hudson/plugins/promoted_builds/ConfigurationRoundtripTest.java b/src/test/java/hudson/plugins/promoted_builds/ConfigurationRoundtripTest.java index 39f99b4e..51d8c4eb 100644 --- a/src/test/java/hudson/plugins/promoted_builds/ConfigurationRoundtripTest.java +++ b/src/test/java/hudson/plugins/promoted_builds/ConfigurationRoundtripTest.java @@ -81,7 +81,7 @@ public void testRoundtrip() throws Exception { } @LocalData - @Issue("17341") + @Issue("JENKINS-17341") @Test public void testLoad() throws Exception { FreeStyleProject jProj = j.jenkins.getItemByFullName("j", FreeStyleProject.class); diff --git a/src/test/java/hudson/plugins/promoted_builds/RemoteApiTest.java b/src/test/java/hudson/plugins/promoted_builds/RemoteApiTest.java index e547912e..65dd8e44 100644 --- a/src/test/java/hudson/plugins/promoted_builds/RemoteApiTest.java +++ b/src/test/java/hudson/plugins/promoted_builds/RemoteApiTest.java @@ -46,7 +46,7 @@ import org.jvnet.hudson.test.JenkinsRule; /** Verifies use of REST API to manipulate promotions. */ -@Issue("8963") +@Issue("JENKINS-8963") public class RemoteApiTest { @Rule public JenkinsRule r = new JenkinsRule(); diff --git a/src/test/java/hudson/plugins/promoted_builds/conditions/DownstreamPassConditionTest.java b/src/test/java/hudson/plugins/promoted_builds/conditions/DownstreamPassConditionTest.java index 3c0a64ab..6cdac784 100644 --- a/src/test/java/hudson/plugins/promoted_builds/conditions/DownstreamPassConditionTest.java +++ b/src/test/java/hudson/plugins/promoted_builds/conditions/DownstreamPassConditionTest.java @@ -44,7 +44,7 @@ public final class DownstreamPassConditionTest { public JenkinsRule j = new JenkinsRule(); @Test - @Issue("7739") + @Issue("JENKINS-7739") public void shouldEvaluateUpstreamRecursively() throws Exception { final FreeStyleProject job1 = j.createFreeStyleProject("job1"); final FreeStyleProject job2 = j.createFreeStyleProject("job2"); diff --git a/src/test/java/hudson/plugins/promoted_builds/conditions/ManualConditionBug22005.java b/src/test/java/hudson/plugins/promoted_builds/conditions/ManualConditionBug22005.java index 9ef8113a..7558fd2a 100644 --- a/src/test/java/hudson/plugins/promoted_builds/conditions/ManualConditionBug22005.java +++ b/src/test/java/hudson/plugins/promoted_builds/conditions/ManualConditionBug22005.java @@ -30,7 +30,7 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; -@Issue("22005") +@Issue("JENKINS-22005") public class ManualConditionBug22005 { @Rule diff --git a/src/test/java/hudson/plugins/promoted_builds/conditions/SelfPromotionTest.java b/src/test/java/hudson/plugins/promoted_builds/conditions/SelfPromotionTest.java index ed01e694..f6b0e827 100644 --- a/src/test/java/hudson/plugins/promoted_builds/conditions/SelfPromotionTest.java +++ b/src/test/java/hudson/plugins/promoted_builds/conditions/SelfPromotionTest.java @@ -144,9 +144,9 @@ public void testFailure() throws Exception { assertFalse(badge.contains(promo2)); } - @Issue("22679") + @Issue("JENKINS-22679") @Test - // @Issue("34826") // Can be reproduced in Jenkins 2.3 + + // @Issue("JENKINS-34826") // Can be reproduced in Jenkins 2.3 + public void testPromotionEnvironmentShouldIncludeTargetParameters() throws Exception { String paramName = "param"; diff --git a/src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/DownstreamPassConditionInheritanceTest.java b/src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/DownstreamPassConditionInheritanceTest.java index 5a40766d..94c8ff8e 100644 --- a/src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/DownstreamPassConditionInheritanceTest.java +++ b/src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/DownstreamPassConditionInheritanceTest.java @@ -46,7 +46,7 @@ public final class DownstreamPassConditionInheritanceTest { public InheritanceProjectRule j = new InheritanceProjectRule(); @Test - @Issue("7739") + @Issue("JENKINS-7739") public void shouldEvaluateUpstreamRecursively() throws Exception { final InheritanceProjectsPair pair1 = j.createInheritanceProjectDerivedWithBase(); final InheritanceProjectsPair pair2 = j.createInheritanceProjectDerivedWithBase(); diff --git a/src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/SelfPromotionInheritanceTest.java b/src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/SelfPromotionInheritanceTest.java index 43057363..119f6ff5 100644 --- a/src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/SelfPromotionInheritanceTest.java +++ b/src/test/java/hudson/plugins/promoted_builds/conditions/inheritance/SelfPromotionInheritanceTest.java @@ -169,7 +169,7 @@ public void testFailure() throws Exception { } @Test - @Issue("22679") + @Issue("JENKINS-22679") public void testPromotionEnvironmentShouldIncludeTargetParameters() throws Exception { String paramName = "param";