environment test

This commit is contained in:
crusader 2023-02-01 15:00:55 +00:00
parent 07133567f5
commit d9f0dbdfce

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 = sh(returnStdout: true, script: "cat build.gradle | grep -o 'version = [^,]*'").trim()
sh "echo Project in version value: $app_version"
stage('Test') {
try {