Skip to content

Commit 7e59f9f

Browse files
authored
chore: send build url in test webhook (#2345)
* unquote env vars * lint yml * enable webhook * finalize * build url instead of pr * test get commit message * finalize * delete extra job call * remove environment
1 parent 118846c commit 7e59f9f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/continue_config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,12 @@ jobs:
213213
- image: cimg/base:2021.11
214214
resource_class: small
215215
steps:
216+
- checkout
217+
- run:
218+
name: Get commit message
219+
command: |
220+
echo "export COMMIT_MESSAGE=\"$(git log --format=%s%b -n 1 $CIRCLE_SHA1)\"" >> "$BASH_ENV"
221+
source "$BASH_ENV"
216222
- run:
217223
name: Trigger private tests
218224
command: |
@@ -228,7 +234,7 @@ jobs:
228234
"sqlmesh_branch":"'$CIRCLE_BRANCH'",
229235
"sqlmesh_commit_author":"'$CIRCLE_USERNAME'",
230236
"sqlmesh_commit_hash":"'$CIRCLE_SHA1'",
231-
"sqlmesh_commit_pr":"'$CIRCLE_PULL_REQUEST'"
237+
"sqlmesh_commit_message":"'$COMMIT_MESSAGE'"
232238
}
233239
}'
234240

0 commit comments

Comments
 (0)