| name: 'gatling-git-sbt-{branch}' |
| description: 'Gatling Git extension {branch} branch build with Sbt' |
| targets: compile test assembly |
| artifact-days-to-keep: 20 |
| url: https://review.gerrithub.io/GerritForge/gatling-git |
| sbt -no-colors compile test assembly |
| # Extract version information |
| JARS=$(find . -name 'gatling-git*jar') |
| VERSION=$(git describe --always origin/master) |
| echo -e "Implementation-Version: $VERSION" > MANIFEST.MF |
| jar ufm $jar MANIFEST.MF && rm MANIFEST.MF |
| echo "$VERSION" > $jar-version |
| artifacts: '**/target/**/gatling-git-extension.jar*' |
| name: gatling-git-sbt-{branch} |
| - 'gatling-git-sbt-{branch}': |