Skip to content

Commit

Permalink
bugfix for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Geapefurit committed Nov 20, 2023
1 parent a06e863 commit 0a0f1ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@ pipeline {
steps {
sh(returnStdout: true, script: '''
tag=latest
set +e
result=$(echo $TARGET_ENV | grep "testing")
set -e
if [[ "$result" != "" ]]
then
tag=$(git tag|grep '[13579]$'|sort -V|tail -n 1| tr -d '\n')
Expand Down

0 comments on commit 0a0f1ab

Please sign in to comment.