mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 09:06:03 +00:00
Normalized loading of UpdateCenter/CoreUpdateMonitor/message.properties by moving changelog.url to jenkins-version.properties.
This commit is contained in:
33 files changed
+24
-80
No files matched your search
@@ -5099,6 +5099,8 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
|
||||
VERSION = ver;
|
||||
context.setAttribute("version",ver);
|
||||
|
||||
CHANGELOG_URL = props.getProperty("changelog.url");
|
||||
|
||||
VERSION_HASH = Util.getDigestOf(ver).substring(0, 8);
|
||||
SESSION_HASH = Util.getDigestOf(ver+System.currentTimeMillis()).substring(0, 8);
|
||||
|
||||
@@ -5122,6 +5124,9 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
|
||||
*/
|
||||
public static String VERSION = UNCOMPUTED_VERSION;
|
||||
|
||||
@Restricted(NoExternalUse.class)
|
||||
public static String CHANGELOG_URL;
|
||||
|
||||
/**
|
||||
* Parses {@link #VERSION} into {@link VersionNumber}, or null if it's not parseable as a version number
|
||||
* (such as when Jenkins is run with {@code mvn jetty:run})
|
||||
|
||||
Reference in new issue
Block a user