Browse Source

Pass system properties to releaser build command

pull/6/head
Spencer Gibb 7 years ago
parent
commit
f59a228daf
No known key found for this signature in database
GPG Key ID: 7788A47380690861
  1. 2
      config/releaser.yml
  2. 4
      scripts/build.sh

2
config/releaser.yml

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
releaser:
maven:
buildCommand: ./scripts/build.sh
buildCommand: ./scripts/build.sh {{systemProps}}

4
scripts/build.sh

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#!/bin/bash
(cd spring-cloud-netflix-hystrix-contract && ../mvnw clean install)
./mvnw clean install
(cd spring-cloud-netflix-hystrix-contract && ../mvnw clean install ${@})
./mvnw clean install ${@}

Loading…
Cancel
Save