Skip to content

Commit

Permalink
Merge pull request #388 from rsvoboda/git-maven.demo
Browse files Browse the repository at this point in the history
docs: Update git-maven to use jenkinsfile-runner:maven
  • Loading branch information
oleg-nenashev authored Oct 9, 2020
2 parents 576d12f + fe7b752 commit 01c9fb9
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions demo/git-maven/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
Demo: Git and Maven
===================

Demonstrates simple Pipeline which checks out from the Git repository and then runs a Maven build.

| WARNING: This demo is based on the unreleased Vanilla version. Git support will be added in 1.0-beta-12 |
| --- |
Demonstrates a simple Pipeline which checks out from the Git repository and then runs a Maven build.

### Run with Docker

```
docker run --rm -v $(pwd)/Jenkinsfile:/workspace/Jenkinsfile jenkins4eval/jenkinsfile-runner:latest
docker run --rm -v $(pwd)/Jenkinsfile:/workspace/Jenkinsfile jenkins4eval/jenkinsfile-runner:maven
```

### Run (without Docker)
This example is using Jenkinsfile Runner base image for building projects with Java and Apache Maven.

```shell
java -jar ../../app/target/jenkinsfile-runner-standalone.jar -p ../../vanilla-package/target/plugins/ -w ../../vanilla-package/target/war/jenkins.war -f .
```
Image is available on Docker Hub: https://hub.docker.com/r/jenkins4eval/jenkinsfile-runner/tags

Source code for the image is on GitHub: https://github.com/jenkinsci/jenkinsfile-runner-image-packs/tree/main/maven

0 comments on commit 01c9fb9

Please sign in to comment.