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