From f1e117500516ed9ec8814387ccfa8c9ef905f3d2 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 1 Feb 2023 14:55:01 +0000 Subject: [PATCH] environment test --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8b708b4..86803d3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,7 +43,7 @@ podTemplate( def previousGitCommit = sh(script: "git rev-parse ${gitCommit}~", returnStdout: true) def docker_registry_url = "harbor.loafle.net" def app_version_value = sh(returnStdout: true, script: "cat build.gradle | grep -o 'version = [^,]*'").trim() - sh "echo Project in version value: $version_value" + sh "echo Project in version value: $app_version_value" def app_version = app_version_value.split(/=/)[1] stage('Test') {