Browse Source

Update MAC_LINUX_DOCKER.md

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

+ 12
- 12
MAC_LINUX_DOCKER.md View File

@ -13,18 +13,18 @@ Give your Maven installation a name and check the option to `Install automatical
Create a freestyle job and configure it as follows:
1. Under `Source Code Management`, select `Git` and enter the following URL:
```
https://github.com/managedkaos/apache-maven-hello-world
```
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`.
6. Add a build step using the `Execute shell` build step and enter:
```
java -cp target/hello-1.0-SNAPSHOT.jar com.learningjenkins.App
```
7. Save the job and start the build.
```
https://github.com/managedkaos/apache-maven-hello-world
```
1. **MAKE SURE TO SET THE `Branch Specifier` to `*/03_01`**.
1. Add a build step using `Invoke Top-Level Maven Target`.
1. Select the Maven version you configured in the previous step.
1. For the goal, enter `package`.
1. Add a build step using the `Execute shell` build step and enter:
```
java -cp target/hello-1.0-SNAPSHOT.jar com.learningjenkins.App
```
1. Save the job and start the build.
## Troubleshooting Errors
```


Loading…
Cancel
Save