Documentation only: replace JENKINS_ROOT with JENKINS_HOME (#1319)

This commit is contained in:
Martin d'Anjou 2020-03-13 12:37:46 -04:00 committed by GitHub
parent 98324b45aa
commit 4b9cc7e2ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ Second, the plugin looks for the `CASC_JENKINS_CONFIG` environment variable. The
If `CASC_JENKINS_CONFIG` points to a folder, the plugin will recursively traverse the folder to find file (suffix with .yml,.yaml,.YAML,.YML), but doesn't contain hidden files or hidden subdirectories. It doesn't follow symbolic links. If `CASC_JENKINS_CONFIG` points to a folder, the plugin will recursively traverse the folder to find file (suffix with .yml,.yaml,.YAML,.YML), but doesn't contain hidden files or hidden subdirectories. It doesn't follow symbolic links.
If you do not set the `CASC_JENKINS_CONFIG` environment variable, the plugin will If you do not set the `CASC_JENKINS_CONFIG` environment variable, the plugin will
default to looking for a single config file in `$JENKINS_ROOT/jenkins.yaml`. default to looking for a single config file in `$JENKINS_HOME/jenkins.yaml`.
If everything was setup correctly, you should now be able to browse the Configuration as Code page with `Manage Jenkins` -> `Configuration as Code`. If everything was setup correctly, you should now be able to browse the Configuration as Code page with `Manage Jenkins` -> `Configuration as Code`.

View File

@ -32,7 +32,7 @@ import static org.junit.Assert.assertTrue;
* 2. Check it was configured correctly. * 2. Check it was configured correctly.
* 3. Check the configuration is valid via Web UI. * 3. Check the configuration is valid via Web UI.
* 4. Apply the configuration via Web UI. * 4. Apply the configuration via Web UI.
* 5. Write the configuration to $JENKINS_ROOT/jenkins.yaml. * 5. Write the configuration to $JENKINS_HOME/jenkins.yaml.
* 6. Restart Jenkins. * 6. Restart Jenkins.
* 7. Check the {@link #stringInLogExpected()} is set during the restart. * 7. Check the {@link #stringInLogExpected()} is set during the restart.
* *
@ -83,7 +83,7 @@ public abstract class RoundTripAbstractTest {
* 2. Check it was configured correctly. * 2. Check it was configured correctly.
* 3. Check the configuration is valid via Web UI. * 3. Check the configuration is valid via Web UI.
* 4. Apply the configuration via Web UI. * 4. Apply the configuration via Web UI.
* 5. Write the configuration to $JENKINS_ROOT/jenkins.yaml. * 5. Write the configuration to $JENKINS_HOME/jenkins.yaml.
* 6. Restart Jenkins. * 6. Restart Jenkins.
* 7. Check the {@link #stringInLogExpected()} is set during the restart. * 7. Check the {@link #stringInLogExpected()} is set during the restart.
* *