Skip to content

Commit 17ac8d6

Browse files
aptalcathelamer
authored andcommitted
fix jenkins-vars
1 parent cbcebce commit 17ac8d6

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Jenkinsfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ pipeline {
1717
DOCKERHUB_IMAGE = 'linuxserver/duckdns'
1818
DEV_DOCKERHUB_IMAGE = 'lsiodev/duckdns'
1919
PR_DOCKERHUB_IMAGE = 'lspipepr/duckdns'
20-
BUILDS_DISCORD = credentials('build_webhook_url')
21-
GITHUB_TOKEN = credentials('498b4638-2d02-4ce5-832d-8a57d01d97ab')
2220
DIST_IMAGE = 'alpine'
2321
MULTIARCH='true'
2422
CI='true'
@@ -325,9 +323,9 @@ pipeline {
325323
fi
326324
if [ "$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )" != "${PACKAGE_TAG}" ]; then
327325
git clone https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/${LS_REPO}
326+
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
328327
cp ${TEMPDIR}/package_versions.txt ${TEMPDIR}/${LS_REPO}/
329328
cd ${TEMPDIR}/${LS_REPO}/
330-
git --git-dir ${TEMPDIR}/${LS_REPO}/.git checkout -f master
331329
git --git-dir ${TEMPDIR}/${LS_REPO}/.git add package_versions.txt
332330
git --git-dir ${TEMPDIR}/${LS_REPO}/.git commit -m 'Bot Updating Package Versions'
333331
git --git-dir ${TEMPDIR}/${LS_REPO}/.git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all

jenkins-vars.yml

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ repo_vars:
1414
- DOCKERHUB_IMAGE = 'linuxserver/duckdns'
1515
- DEV_DOCKERHUB_IMAGE = 'lsiodev/duckdns'
1616
- PR_DOCKERHUB_IMAGE = 'lspipepr/duckdns'
17-
- BUILDS_DISCORD = credentials('build_webhook_url')
18-
- GITHUB_TOKEN = credentials('498b4638-2d02-4ce5-832d-8a57d01d97ab')
1917
- DIST_IMAGE = 'alpine'
2018
- MULTIARCH='true'
2119
- CI='true'

0 commit comments

Comments
 (0)