File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
tracker_automations/bulk_prelaunch_jobs Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -144,11 +144,11 @@ while read issue; do
144
144
# Execute the criteria postissue. It will perform the needed changes in the tracker for the current issue
145
145
if [[ ${quiet} == " false" ]]; then
146
146
# Let's see if there is any restriction to the comment in the Tracker
147
- commentrestriction =
147
+ restrictiontype =
148
148
if [[ -n " ${restrictedto} " ]]; then
149
- commentrestriction= " --role $restrictedto "
149
+ restrictiontype= --role
150
150
fi
151
- echo " - Sending results to the Tracker"
151
+ echo " - Sending results to the Tracker ( ${restrictiontype} ${restrictedto} ) "
152
152
. " ${mydir} /criteria/${criteria} /postissue.sh"
153
153
fi
154
154
done < " ${resultfile} "
Original file line number Diff line number Diff line change 1
1
# Add the comment with results.
2
+ echo " ${commentrestriction} "
2
3
${basereq} --action addComment \
3
4
--issue ${issue} \
4
- --file " ${resultfile} .${issue} .txt" ${commentrestriction}
5
+ --file " ${resultfile} .${issue} .txt" ${restrictiontype} " ${restrictedto} "
You can’t perform that action at this time.
0 commit comments