Print no increment on CIs.
This commit is contained in:
parent
6fe36dbe8e
commit
015c8fcd14
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ incrementBuildMeta {
|
||||||
doFirst {
|
doFirst {
|
||||||
if (!System.getenv('CI')) {
|
if (!System.getenv('CI')) {
|
||||||
buildMeta = sprintf("%03d", (buildMeta as Integer) + 1)
|
buildMeta = sprintf("%03d", (buildMeta as Integer) + 1)
|
||||||
|
} else {
|
||||||
|
println "No increment on CIs."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue