diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-05 19:10:13 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-07 23:52:08 -0400 |
commit | eae8ed66003246976407e5ac3162b80d985c25dc (patch) | |
tree | f85233c4a962dd73bad3c74fd345ec70a64c9d4a | |
parent | 092fe4d00191987d1e393a7079c6fd0c84c037a4 (diff) |
ci: Fix commit message in per-commit report
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rwxr-xr-x | ci/test-job-done.sh | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ci/test-job-done.sh b/ci/test-job-done.sh index dcaa467..8e519ce 100755 --- a/ci/test-job-done.sh +++ b/ci/test-job-done.sh @@ -11,7 +11,7 @@ cd /home/bcachefs/linux BRANCH=$1 COMMIT=$2 OUTPUT=$JOBSERVER_OUTPUT_DIR/c/$COMMIT -COMMITTEXT=$(git log -n1 $COMMIT) +COMMIT_SUBJECT=$(git log -n1 --pretty=format:%s $COMMIT) echo "Generating summary for branch $BRANCH commit $COMMIT" @@ -28,23 +28,19 @@ if [[ -n $STATUSES ]]; then fi set -o errexit -#echo "Running test2web" -#test2web "$COMMITTEXT" "$OUTPUT" > "$OUTPUT"/index.html - git_commit_html() { echo '<!DOCTYPE HTML>' - echo "<html><head><title>$(git log -n1 --pretty=format:%s)</title></head>" + echo "<html><head><title>$COMMIT_SUBJECT</title></head>" echo '<link href="../../bootstrap.min.css" rel="stylesheet">' echo '<body>' echo '<div class="container">' - echo '<table class="table">' echo "<tr>" - echo "<th>$(git log -n1 --pretty=format:%s)</th>" + echo "<th>$COMMIT_SUBJECT</th>" echo "</tr>" for STATUS in $(find $OUTPUT -name status); do |