Skip to content

Commit 08cac18

Browse files
committed
Use informative commit message
1 parent 3cb981d commit 08cac18

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

jenkins.bash

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ EOF
8888

8989
git -C conformance config user.email "[email protected]"
9090
git -C conformance config user.name "CWL Jenkins build bot"
91+
CONFORMANCE_MSG=$(cat << EOM
92+
Conformance test of cwltool ${tool_ver} for CWL ${version}
93+
Commit: ${GIT_COMMIT}
94+
Python version: ${PYTHON_VERSION}
95+
Container: ${CONTAINER}
96+
EOM
97+
)
9198

9299
tool_ver=$(cwltool --version | awk '{ print $2 }')
93100
badgedir=${PWD}/conformance/cwltool/cwl_${version}/cwltool_${tool_ver}
@@ -108,7 +115,7 @@ EOF
108115
if [ -d conformance ]
109116
then
110117
git -C conformance add --all
111-
git -C conformance diff-index --quiet HEAD || git -C conformance commit -m "CWL Jenkins Build bot"
118+
git -C conformance diff-index --quiet HEAD || git -C conformance commit -m "${CONFORMANCE_MSG}"
112119
git -C conformance push http://${jenkins_cwl_conformance}:[email protected]/common-workflow-language/conformance.git
113120
fi
114121

0 commit comments

Comments
 (0)