environment test

This commit is contained in:
crusader 2023-02-01 14:55:01 +00:00
parent d5158c0024
commit f1e1175005

2
Jenkinsfile vendored
View File

@ -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') {