environment test
This commit is contained in:
parent
f1e1175005
commit
07133567f5
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -42,9 +42,7 @@ podTemplate(
|
|||
def shortGitCommit = "${gitCommit[0..10]}"
|
||||
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: $app_version_value"
|
||||
def app_version = app_version_value.split(/=/)[1]
|
||||
def app_version = sh(returnStdout: true, script: "cat build.gradle | grep -o 'version = [^,]*'").trim()
|
||||
|
||||
stage('Test') {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue
Block a user