Fix the configuration as code autoupdate

This commit is contained in:
retropikzel 2024-10-11 15:54:45 +03:00
parent ce2b9b83a1
commit 5e545ab3bf
1 changed files with 4 additions and 1 deletions

View File

@ -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}"