From 94da9ff7fe30a4482241b0edc46e9e1f91fd9104 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Sat, 26 Mar 2022 17:31:36 -0500 Subject: [PATCH] Set author to jenkins --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 56fef9b..9e24e7a 100644 --- a/build.gradle +++ b/build.gradle @@ -90,11 +90,12 @@ static def getDate() { ext { buildNumber = System.getenv("BUILD_NUMBER") + " (Jenkins)" ?: getBuildNumber() + buildAuthor = System.getenv("JENKINS_URL") != null ? "jenkins" : "unknown" } task buildProperties { ant.propertyfile(file: "$project.rootDir/src/main/resources/build.properties") { - entry(key: "buildAuthor", default: "unknown") + entry(key: "buildAuthor", value: buildAuthor) entry(key: "buildNumber", value: buildNumber) entry(key: "buildDate", value: getDate()) entry(key: "buildHead", value: getGitHash())