Browse Source

Update README.md

pull/4/head
Michael 4 years ago
committed by GitHub
parent
commit
430fb7f0c8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      README.md

+ 5
- 5
README.md View File

@ -1,6 +1,6 @@
# Learning Jenkins, 03-01: Using a global build tool # Learning Jenkins, 03-01: Using a global build tool
# Prerequisites
## Prerequisites
You will need to configure Maven as a global build tool. You will need to configure Maven as a global build tool.
In the Jenkins web interface, go to: In the Jenkins web interface, go to:
@ -9,7 +9,7 @@ In the Jenkins web interface, go to:
Give your Maven installation a name and check the option to `Install automatically`. Give your Maven installation a name and check the option to `Install automatically`.
# Setting up the Jenkins Job
## Setting up the Jenkins Job
Create a freestyle job and configure it as follows: Create a freestyle job and configure it as follows:
1. Under `Source Code Management`, select `Git` and enter the following URL: 1. Under `Source Code Management`, select `Git` and enter the following URL:
@ -21,7 +21,7 @@ https://github.com/LinkedInLearning/learning-jenkins-3003221
4. Select the Maven version you configured in the previous step. 4. Select the Maven version you configured in the previous step.
5. For the goal, enter `package`. 5. For the goal, enter `package`.
# WINDOWS SYSTEMS
## WINDOWS SYSTEMS
Select the `Execute Windows batch command` build step Select the `Execute Windows batch command` build step
``` ```
java -cp target/hello-1.0-SNAPSHOT.jar com.learningjenkins.App java -cp target/hello-1.0-SNAPSHOT.jar com.learningjenkins.App
@ -30,7 +30,7 @@ Save the job and start the build.
[Follow this link for more details on Windows](WINDOWS.md) [Follow this link for more details on Windows](WINDOWS.md)
# MacOS, Linux, and Docker
## MacOS, Linux, and Docker
Select the `Execute shell` build step. Select the `Execute shell` build step.
``` ```
java -cp target/hello-1.0-SNAPSHOT.jar com.learningjenkins.App java -cp target/hello-1.0-SNAPSHOT.jar com.learningjenkins.App
@ -39,7 +39,7 @@ Save the job and start the build.
[Follow this link for more details on MacOS, Linux, and Docker](MAC_LINUX_DOCKER.md) [Follow this link for more details on MacOS, Linux, and Docker](MAC_LINUX_DOCKER.md)
# Troubleshooting Errors
## Troubleshooting Errors
``` ```
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
``` ```


Loading…
Cancel
Save