commit | 28d06c41d998de6b415d8f0130589afd68fc9053 | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Wed Nov 08 22:36:21 2017 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Fri Nov 10 12:51:44 2017 +0000 |
tree | 1b99f016211dbc44528389c1c435cac45c60483d | |
parent | 304a1e215afdb9b8d07f489d9309bb0e25f05e5f [diff] |
Check if theres a BUILD file in gerrit-sbt-build-plugin.sh Change-Id: I0f3a94883373bfc101b6e50d57d7941196a2bb82
diff --git a/jenkins/gerrit-sbt-build-plugin.sh b/jenkins/gerrit-sbt-build-plugin.sh index a040278..d672add 100644 --- a/jenkins/gerrit-sbt-build-plugin.sh +++ b/jenkins/gerrit-sbt-build-plugin.sh
@@ -1,6 +1,6 @@ #!/bin/bash -e -if [ "{branch}" == "master" ] +if [ -f "gerrit/BUILD" ] then git read-tree -u --prefix=gerrit gerrit/{branch} . set-java.sh 8