do it for both

This commit is contained in:
Telesphoreo 2022-03-26 17:37:58 -05:00
parent 94da9ff7fe
commit 222eec2eac

View File

@ -89,7 +89,7 @@ static def getDate() {
} }
ext { ext {
buildNumber = System.getenv("BUILD_NUMBER") + " (Jenkins)" ?: getBuildNumber() buildAuthor = System.getenv("BUILD_NUMBER") != null ? System.getenv("BUILD_NUMBER") : getGitHash()
buildAuthor = System.getenv("JENKINS_URL") != null ? "jenkins" : "unknown" buildAuthor = System.getenv("JENKINS_URL") != null ? "jenkins" : "unknown"
} }