From e470e55a92c77fc062c399d4d14fcce7adcedc9e Mon Sep 17 00:00:00 2001 From: Michael Jenkins Date: Tue, 5 Oct 2021 21:49:10 -0700 Subject: [PATCH] Update for private repo configuration --- 03_01.md | 10 ++++++++-- MAC_LINUX_DOCKER.md | 5 ++++- WINDOWS.md | 4 ++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/03_01.md b/03_01.md index 89e698e..eeca55b 100644 --- a/03_01.md +++ b/03_01.md @@ -16,7 +16,7 @@ Create a freestyle job and configure it as follows: ``` https://github.com/managedkaos/apache-maven-hello-world ``` -2. **MAKE SURE TO SET THE `Branch Specifier` to `*/main`**. +2. **MAKE SURE TO SET THE `Branch Specifier` to `*/03_01`**. 3. Add a build step using `Invoke Top-Level Maven Target`. 4. Select the Maven version you configured in the previous step. 5. For the goal, enter `package`. @@ -30,7 +30,6 @@ Save the job and start the build. [Follow this link for more details on Windows](WINDOWS.md) - # MacOS, Linux, and Docker Select the `Execute shell` build step. ``` @@ -39,3 +38,10 @@ java -cp target/hello-1.0-SNAPSHOT.jar com.learningjenkins.App Save the job and start the build. [Follow this link for more details on MacOS, Linux, and Docker](MAC_LINUX_DOCKER.md) + +# Troubleshooting Errors +``` +ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. +``` +This error means you have probably entered the wrong branch under Source Code Management. You need to enter `*/03_01` for the branch. + diff --git a/MAC_LINUX_DOCKER.md b/MAC_LINUX_DOCKER.md index 11b0ddf..03e96fe 100644 --- a/MAC_LINUX_DOCKER.md +++ b/MAC_LINUX_DOCKER.md @@ -29,4 +29,7 @@ java -cp target/hello-1.0-SNAPSHOT.jar com.learningjenkins.App Save the job and start the build. # Troubleshooting Errors - +``` +ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. +``` +This error means you have probably entered the wrong branch under Source Code Management. You need to enter `*/03_01` for the branch. diff --git a/WINDOWS.md b/WINDOWS.md index a610aee..b2a4fe2 100644 --- a/WINDOWS.md +++ b/WINDOWS.md @@ -29,4 +29,8 @@ java -cp target/hello-1.0-SNAPSHOT.jar com.learningjenkins.App Save the job and start the build. # Troubleshooting Errors +``` +ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. +``` +This error means you have probably entered the wrong branch under Source Code Management. You need to enter `*/03_01` for the branch.