Code Review
/
releng
/
global-jjb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
0dd71dd
)
Merge "Expose stream as a env variable"
v0.4.2
author
Jamo Luhrsen
<jluhrsen@redhat.com>
Fri, 30 Jun 2017 02:43:40 +0000
(
02:43
+0000)
committer
Gerrit Code Review
<gerrit@linuxfoundation.org>
Fri, 30 Jun 2017 02:43:40 +0000
(
02:43
+0000)
shell/git-validate-jira-urls.sh
patch
|
blob
|
history
diff --git
a/shell/git-validate-jira-urls.sh
b/shell/git-validate-jira-urls.sh
index
d44fec9
..
51d5132
100644
(file)
--- a/
shell/git-validate-jira-urls.sh
+++ b/
shell/git-validate-jira-urls.sh
@@
-15,7
+15,7
@@
set -e -o pipefail
set +u
-JIRA_LINK=$(git rev-list --format=%B --max-count=1 HEAD | grep -io 'http[s]*://jira\..*')
+JIRA_LINK=$(git rev-list --format=%B --max-count=1 HEAD | grep -io 'http[s]*://jira\..*'
|| true
)
if [[ ! -z "$JIRA_LINK" ]]
then
echo 'Remove JIRA URLs from commit message'