,R extends Abs
public EnvVars getEnvironment(TaskListener log) throws IOException, InterruptedException {
EnvVars env = super.getEnvironment(log);
FilePath ws = getWorkspace();
- if (ws != null) { // if this is done very early on in the build, workspace may not be decided yet. see HUDSON-3997
+ if (ws != null) { // if this is done very early on in the build, workspace may not be decided yet. see JENKINS-3997
env.put("WORKSPACE", ws.getRemote());
FilePath tempDir = WorkspaceList.tempDir(ws);
if (tempDir != null) {
diff --git a/core/src/main/java/hudson/model/Computer.java b/core/src/main/java/hudson/model/Computer.java
index c93735b0a9..93a4ffa4fc 100644
--- a/core/src/main/java/hudson/model/Computer.java
+++ b/core/src/main/java/hudson/model/Computer.java
@@ -1287,7 +1287,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
}
}
- // allow the administrator to manually specify the host name as a fallback. HUDSON-5373
+ // allow the administrator to manually specify the host name as a fallback. JENKINS-5373
cachedHostName = channel.call(new GetFallbackName());
hostNameCached = true;
return cachedHostName;
diff --git a/core/src/main/java/hudson/model/Job.java b/core/src/main/java/hudson/model/Job.java
index dc3d4edd8a..3280b7b5bd 100644
--- a/core/src/main/java/hudson/model/Job.java
+++ b/core/src/main/java/hudson/model/Job.java
@@ -1415,7 +1415,7 @@ public abstract class Job
* This object is used so that the successive polling can compare the tip of the repository now vs
* what it was when it was last polled. (Before 1.345, Hudson was only able to compare the tip
- * of the repository vs the state of the workspace, which resulted in a problem like HUDSON-2180.
+ * of the repository vs the state of the workspace, which resulted in a problem like JENKINS-2180.
*
*
* {@link SCMRevisionState} is persisted as an action to {@link AbstractBuild}.
diff --git a/core/src/main/java/hudson/security/AuthorizationStrategy.java b/core/src/main/java/hudson/security/AuthorizationStrategy.java
index 66cab7d0b7..41d246e243 100644
--- a/core/src/main/java/hudson/security/AuthorizationStrategy.java
+++ b/core/src/main/java/hudson/security/AuthorizationStrategy.java
@@ -171,7 +171,7 @@ public abstract class AuthorizationStrategy extends AbstractDescribableImpl
* This class is even useful on the server side, as {@link HttpServletRequest#getParameter(String)}
* can try to parse into the payload (and that can cause an exception if the payload is already consumed.
- * See HUDSON-8056.)
+ * See JENKINS-8056.)
*
*
* So if you are handling the payload yourself and only want to access the query parameters,
diff --git a/core/src/main/java/hudson/util/XStream2.java b/core/src/main/java/hudson/util/XStream2.java
index 01a68dffa7..4b03352a02 100644
--- a/core/src/main/java/hudson/util/XStream2.java
+++ b/core/src/main/java/hudson/util/XStream2.java
@@ -361,7 +361,7 @@ public class XStream2 extends XStream {
* Prior to Hudson 1.106, XStream 1.1.x was used which encoded "$" in class names
* as "-" instead of "_-" that is used now. Up through Hudson 1.348 compatibility
* for old serialized data was maintained via {@link com.thoughtworks.xstream.mapper.XStream11XmlFriendlyMapper}.
- * However, it was found (HUDSON-5768) that this caused fields with "__" to fail
+ * However, it was found (JENKINS-5768) that this caused fields with "__" to fail
* deserialization due to double decoding. Now this class is used for compatibility.
*/
private class CompatibilityMapper extends MapperWrapper {
diff --git a/core/src/main/java/hudson/util/jna/GNUCLibrary.java b/core/src/main/java/hudson/util/jna/GNUCLibrary.java
index 6768228d21..96b8231d9b 100644
--- a/core/src/main/java/hudson/util/jna/GNUCLibrary.java
+++ b/core/src/main/java/hudson/util/jna/GNUCLibrary.java
@@ -40,7 +40,7 @@ import org.jvnet.libpam.impl.CLibrary.passwd;
*
*
* Not available on all platforms (such as Linux/PPC, IBM mainframe, etc.), so the caller should recover gracefully
- * in case of {@link LinkageError}. See HUDSON-4820.
+ * in case of {@link LinkageError}. See JENKINS-4820.
* Consider deprecating all methods present also in {@link POSIX} (as obtained by {@link PosixAPI#jnr}).
* @author Kohsuke Kawaguchi
*/
diff --git a/core/src/test/java/hudson/UtilTest.java b/core/src/test/java/hudson/UtilTest.java
index 958bdc84cb..baff9d42ba 100644
--- a/core/src/test/java/hudson/UtilTest.java
+++ b/core/src/test/java/hudson/UtilTest.java
@@ -129,7 +129,7 @@ public class UtilTest {
assertEquals(Messages.Util_millisecond(17), Util.getTimeSpanString(17L));
// 1ms
assertEquals(Messages.Util_millisecond(1), Util.getTimeSpanString(1L));
- // Test HUDSON-2843 (locale with comma as fraction separator got exception for <10 sec)
+ // Test JENKINS-2843 (locale with comma as fraction separator got exception for <10 sec)
Locale saveLocale = Locale.getDefault();
Locale.setDefault(Locale.GERMANY);
try {
diff --git a/core/src/test/java/hudson/scheduler/CronTabDayOfWeekLocaleTest.java b/core/src/test/java/hudson/scheduler/CronTabDayOfWeekLocaleTest.java
index 288c5b8dca..7b819dc068 100644
--- a/core/src/test/java/hudson/scheduler/CronTabDayOfWeekLocaleTest.java
+++ b/core/src/test/java/hudson/scheduler/CronTabDayOfWeekLocaleTest.java
@@ -15,7 +15,6 @@ import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import org.jvnet.hudson.test.Issue;
import org.jvnet.hudson.test.For;
-import org.jvnet.hudson.test.Url;
/**
* A collection of unit tests focused around crontabs restricted to particular
@@ -50,8 +49,8 @@ public class CronTabDayOfWeekLocaleTest {
* HUDSON-8656.
*/
@Test
- @Url("http://issues.hudson-ci.org/browse/HUDSON-8656")
- public void hudson8658() throws Exception {
+ @Issue("HUDSON-8656") // This is _not_ JENKINS-8656
+ public void hudson8656() throws Exception {
final Calendar cal = Calendar.getInstance(locale);
cal.set(2011, 0, 16, 0, 0, 0); // Sunday, Jan 16th 2011, 00:00
final String cronStr = "0 23 * * 1-5"; // execute on weekdays @23:00
diff --git a/core/src/test/java/hudson/scheduler/CronTabTest.java b/core/src/test/java/hudson/scheduler/CronTabTest.java
index 77ed1f0b7e..de4bfa66c2 100644
--- a/core/src/test/java/hudson/scheduler/CronTabTest.java
+++ b/core/src/test/java/hudson/scheduler/CronTabTest.java
@@ -36,7 +36,6 @@ import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
import org.junit.Test;
import org.jvnet.hudson.test.Issue;
-import org.jvnet.hudson.test.Url;
import static java.util.Calendar.MONDAY;
import java.util.List;
@@ -96,7 +95,7 @@ public class CronTabTest {
/**
* Verifies that HUDSON-8656 never crops up again.
*/
- @Url("http://issues.hudson-ci.org/browse/HUDSON-8656")
+ @Issue("HUDSON-8656") // This is _not_ JENKINS-8656
@Test
public void testCeil4() throws ANTLRException {
final Calendar cal = Calendar.getInstance(new Locale("de", "de"));
@@ -118,7 +117,7 @@ public class CronTabTest {
/**
* Verifies that HUDSON-8656 never crops up again.
*/
- @Url("http://issues.hudson-ci.org/browse/HUDSON-8656")
+ @Issue("HUDSON-8656") // This is _not_ JENKINS-8656
@Test
public void testCeil5() throws ANTLRException {
final Calendar cal = Calendar.getInstance(new Locale("de", "at"));
diff --git a/core/src/test/java/hudson/util/XStream2Test.java b/core/src/test/java/hudson/util/XStream2Test.java
index e6d7253486..4d12691e1d 100644
--- a/core/src/test/java/hudson/util/XStream2Test.java
+++ b/core/src/test/java/hudson/util/XStream2Test.java
@@ -93,7 +93,7 @@ public class XStream2Test {
/**
* Test marshal/unmarshal round trip for class/field names with _ and $ characters.
*/
- @Issue("HUDSON-5768")
+ @Issue("JENKINS-5768")
@Test
public void xmlRoundTrip() {
XStream2 xs = new XStream2();
@@ -119,7 +119,7 @@ public class XStream2Test {
* Throwable/Exception (default ThrowableConverter registered by XStream calls
* ReflectionConverter directly, rather than our RobustReflectionConverter replacement).
*/
- @Issue("HUDSON-5769")
+ @Issue("JENKINS-5769")
@Test
public void unmarshalThrowableMissingField() {
Level oldLevel = disableLogging();
diff --git a/war/src/main/webapp/WEB-INF/web.xml b/war/src/main/webapp/WEB-INF/web.xml
index 5423860493..8417c0252c 100644
--- a/war/src/main/webapp/WEB-INF/web.xml
+++ b/war/src/main/webapp/WEB-INF/web.xml
@@ -172,7 +172,7 @@ THE SOFTWARE.
diff --git a/war/src/main/webapp/scripts/prototype.js b/war/src/main/webapp/scripts/prototype.js
index 63644c0a5c..90bf7b0427 100644
--- a/war/src/main/webapp/scripts/prototype.js
+++ b/war/src/main/webapp/scripts/prototype.js
@@ -358,7 +358,7 @@ var Class = (function() {
case 'boolean': return object.toString();
}
if (object === null) return 'null';
- // "|| object.toJSON" below is workaround for Opera 10.52/53 bug, see HUDSON-6424
+ // "|| object.toJSON" below is workaround for Opera 10.52/53 bug, see JENKINS-6424
if (object.toJSON || object.toJSON) return object.toJSON();
if (object.ownerDocument === document) return;
var results = [];