Commit 9d00db98 authored by Aral Balkan's avatar Aral Balkan

better/stat command doesn’t exit on non-zero return codes now. (Disabled set -e).

parent b91ae5fc
Pipeline #478 skipped
......@@ -76,7 +76,7 @@ listOpenMergeRequests(){
echo "\nOpen merge requests:"
echo "====================\n"
openMergeRequests=$(curl --silent -H "PRIVATE-TOKEN: ${privateToken}" https://source.ind.ie/api/v3/projects/$contentRepositoryID/merge_requests\?state\=opened | $private/lib/jq --raw-output '.[] | " · \(.title)\n\n · Status: \(.merge_status).\n · Opened by \(.author.name) for \(.assignee.name).\n · Request: https://source.ind.ie/better/content/merge_requests/\(.iid)\n · Compare: https://source.ind.ie/better/content/compare/master...\(.source_branch)\n · Issue: https://\(.source_branch)"')
openMergeRequests=$(curl --silent -H "PRIVATE-TOKEN: ${privateToken}" https://source.ind.ie/api/v3/projects/$contentRepositoryID/merge_requests\?state\=opened | $private/lib/jq --raw-output '.[] | " · \(.title)\n\n · Status: \(.merge_status).\n · Opened by \(.author.name) for \(.assignee.name).\n · Request: https://source.ind.ie/better/content/merge_requests/\(.iid)\n · Compare: https://source.ind.ie/better/content/compare/master...\(.source_branch)\n · Issue: https://\(.source_branch)\n"')
echo "$openMergeRequests"
}
......@@ -284,7 +284,7 @@ goodbye(){
#
################################################################################
set -e
# set -e
#
# Argument checking
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment