Fix the configuration as code autoupdate
This commit is contained in:
parent
ce2b9b83a1
commit
5e545ab3bf
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
git pull
|
||||
curl -X POST "https://jenkins.scheme.org/reload-configuration-as-code/?casc-reload-token=${CASC_RELOAD_TOKEN}"
|
||||
curl \
|
||||
-X POST \
|
||||
-u ${JENKINS_USER}:${JENKINS_API_TOKEN} \
|
||||
"https://jenkins.scheme.org/reload-configuration-as-code/?casc-reload-token=${CASC_RELOAD_TOKEN}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue