add trigger_ci_job hook
This commit is contained in:
parent
b0db891688
commit
367b11287d
10
hooks/trigger_ci_job.bash
Executable file
10
hooks/trigger_ci_job.bash
Executable 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
|
Loading…
Reference in New Issue
Block a user