File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,6 +188,8 @@ for ref in 1 2; do
188188 echo " Maven could not successfully package ${COMMIT[${ref}]} . Exiting..." >&2
189189 exit 2
190190 fi
191+ # grab sha for future reference
192+ SHA[${ref} ]=$( git rev-parse --short HEAD)
191193 popd > /dev/null
192194 fi
193195
@@ -207,6 +209,7 @@ for ref in 1 2; do
207209 echo " Maven could not successfully package ${COMMIT[${ref}]} . Exiting..." >&2
208210 exit 2
209211 fi
212+ SHA[${ref} ]=$( git rev-parse --short HEAD)
210213 popd > /dev/null
211214 done
212215
259262
260263# Generate command line arguments for Java ACC.
261264JAVA_ACC_COMMAND+=(-l HBase)
262- JAVA_ACC_COMMAND+=(-v1 ${COMMIT[1]} -v2 ${COMMIT[2]} )
265+ JAVA_ACC_COMMAND+=(-v1 ${COMMIT[1]}${SHA[1]+" /${SHA[1]} " } )
266+ JAVA_ACC_COMMAND+=(-v2 ${COMMIT[2]}${SHA[2]+" /${SHA[2]} " } )
263267JAVA_ACC_COMMAND+=(-d1 ${JARS[1]} -d2 ${JARS[2]} )
264268JAVA_ACC_COMMAND+=(-report-path \
265269 ${SCRIPT_DIRECTORY} /target/compatibility/report/${COMMIT[1]} _${COMMIT[2]} _compat_report.html)
You can’t perform that action at this time.
0 commit comments