diff --git a/README.md b/README.md index f4a44b81..4007c67e 100644 --- a/README.md +++ b/README.md @@ -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 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`. diff --git a/test-harness/src/main/java/io/jenkins/plugins/casc/misc/RoundTripAbstractTest.java b/test-harness/src/main/java/io/jenkins/plugins/casc/misc/RoundTripAbstractTest.java index 51f0a484..730db671 100644 --- a/test-harness/src/main/java/io/jenkins/plugins/casc/misc/RoundTripAbstractTest.java +++ b/test-harness/src/main/java/io/jenkins/plugins/casc/misc/RoundTripAbstractTest.java @@ -32,7 +32,7 @@ import static org.junit.Assert.assertTrue; * 2. Check it was configured correctly. * 3. Check the configuration is valid 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. * 7. Check the {@link #stringInLogExpected()} is set during the restart. * @@ -83,7 +83,7 @@ public abstract class RoundTripAbstractTest { * 2. Check it was configured correctly. * 3. Check the configuration is valid 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. * 7. Check the {@link #stringInLogExpected()} is set during the restart. *