Skip to content

Commit

Permalink
try to correctly avoid tag?
Browse files Browse the repository at this point in the history
  • Loading branch information
billbrod committed Oct 17, 2024
1 parent 6df564d commit 8effc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pipeline {
sh """#!/bin/bash -ex
if [[ "${env.BRANCH_NAME}" =~ PR ]]; then
out_dir="pulls/${env.BRANCH_NAME.replace('PR-', '')}"
elif [[ -n "${env.TAG_NAME}" ]]; then
elif [[ ! -z "${env.TAG_NAME}" ]]; then
out_dir="tags/${env.TAG_NAME}"
else
out_dir="branch/${env.BRANCH_NAME}"
Expand Down

0 comments on commit 8effc86

Please sign in to comment.