environment test
This commit is contained in:
parent
ba5bd2d937
commit
d5158c0024
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user