Moving to new Jenkins setup
This commit is contained in:
11
build.gradle
11
build.gradle
@@ -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 {
|
||||
|
Reference in New Issue
Block a user