add trigger_ci_job hook

This commit is contained in:
garrettmills 2020-02-26 09:59:30 -06:00
parent b0db891688
commit 367b11287d
No known key found for this signature in database
GPG Key ID: 6ACD58D6ADACFC6E

10
hooks/trigger_ci_job.bash Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash -e
source ~/.libglm/bootstrap.bash ~/.libglm
libglm_load env
libglm_load notify
libglm_load args
JOBNAME=$(args_get job j $@)
notify_push "Webhook ($LIBGLM_HOSTNAME)" "Triggering CI Job: $JOBNAME"
laminarc queue $JOBNAME