environment test

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

1
Jenkinsfile vendored
View File

@ -43,6 +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"
def app_version = app_version_value.split(/=/)[1]
stage('Test') {