mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 13:02:19 +00:00
Name sysprops more consistently with others
https://wiki.jenkins.io/display/JENKINS/Features+controlled+by+system+properties
This commit is contained in:
1 parent
58b875359e
commit
2c1fdd2699
2 files changed
+4
-4
No files matched your search
@@ -5102,13 +5102,13 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
|
||||
* System property name to set {@link #buildsDir}.
|
||||
* @see #getRawBuildsDir()
|
||||
*/
|
||||
static final String BUILDS_DIR_PROP = Jenkins.class.getName() + ".BUILDS_DIR";
|
||||
static final String BUILDS_DIR_PROP = Jenkins.class.getName() + ".buildsDir";
|
||||
|
||||
/**
|
||||
* System property name to set {@link #workspaceDir}.
|
||||
* @see #getRawWorkspaceDir()
|
||||
*/
|
||||
static final String WORKSPACES_DIR_PROP = Jenkins.class.getName() + ".WORKSPACES_DIR";
|
||||
static final String WORKSPACES_DIR_PROP = Jenkins.class.getName() + ".workspacesDir";
|
||||
|
||||
/**
|
||||
* Automatically try to launch an agent when Jenkins is initialized or a new agent computer is created.
|
||||
|
||||
@@ -168,11 +168,11 @@ public class JenkinsBuildsAndWorkspacesDirectoriesTest {
|
||||
}
|
||||
|
||||
private void setWorkspacesDirProperty(String workspacesDir) {
|
||||
System.setProperty("jenkins.model.Jenkins.WORKSPACES_DIR", workspacesDir);
|
||||
System.setProperty(Jenkins.WORKSPACES_DIR_PROP, workspacesDir);
|
||||
}
|
||||
|
||||
private void setBuildsDirProperty(String buildsDir) {
|
||||
System.setProperty("jenkins.model.Jenkins.BUILDS_DIR", buildsDir);
|
||||
System.setProperty(Jenkins.BUILDS_DIR_PROP, buildsDir);
|
||||
}
|
||||
|
||||
private boolean logWasFound(String searched) {
|
||||
|
||||
Reference in new issue
Block a user