summaryrefslogtreecommitdiff
path: root/contrib/cirrus/success.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-02 17:01:47 +0200
committerGitHub <noreply@github.com>2019-05-02 17:01:47 +0200
commit8a1d7c2fda4a83cc256c7b6d106b0118d8339653 (patch)
tree54379f2b1d608f7f42b26a37d668455b83c50805 /contrib/cirrus/success.sh
parent6c69fe104477dba113e0e4b6efaca344c5f802bc (diff)
parent295c531ecec8661408f01ac4e015d75fec865376 (diff)
downloadpodman-8a1d7c2fda4a83cc256c7b6d106b0118d8339653.tar.gz
podman-8a1d7c2fda4a83cc256c7b6d106b0118d8339653.tar.bz2
podman-8a1d7c2fda4a83cc256c7b6d106b0118d8339653.zip
Merge pull request #3053 from edsantiago/fix_req_env_var
cirrus lib.sh: refactor req_env_var()
Diffstat (limited to 'contrib/cirrus/success.sh')
-rwxr-xr-xcontrib/cirrus/success.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/cirrus/success.sh b/contrib/cirrus/success.sh
index 2b0cf4655..c4e150514 100755
--- a/contrib/cirrus/success.sh
+++ b/contrib/cirrus/success.sh
@@ -4,10 +4,7 @@ set -e
source $(dirname $0)/lib.sh
-req_env_var "
- CIRRUS_BRANCH $CIRRUS_BRANCH
- CIRRUS_BUILD_ID $CIRRUS_BUILD_ID
-"
+req_env_var CIRRUS_BRANCH CIRRUS_BUILD_ID
REF=$(basename $CIRRUS_BRANCH) # PR number or branch named
URL="https://cirrus-ci.com/build/$CIRRUS_BUILD_ID"