Moving to new Jenkins setup

This commit is contained in:
Andrew Steinborn
2018-12-24 08:23:56 -05:00
parent 4a872ffabe
commit 898353640e
2 changed files with 1 additions and 12 deletions

View File

@@ -18,17 +18,6 @@ allprojects {
guavaVersion = '25.1-jre'
checkerFrameworkVersion = '2.5.6'
getCurrentBranchName = {
new ByteArrayOutputStream().withStream { os ->
exec {
executable = "git"
args = ["rev-parse", "--abbrev-ref", "HEAD"]
standardOutput = os
}
return os.toString().trim()
}
}
getCurrentShortRevision = {
new ByteArrayOutputStream().withStream { os ->
exec {