Skip to content

Commit 5d7a8dc

Browse files
authored
Update Jenkinsfile
1 parent 87b8155 commit 5d7a8dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,11 @@ pipeline {
252252
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
253253
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
254254
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
255-
rm ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE.md
255+
rm -f ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE.md
256256
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ || :
257257
cd ${TEMPDIR}/repo/${LS_REPO}/
258258
git add ${TEMPLATED_FILES}
259-
git rm .github/ISSUE_TEMPLATE.md
259+
git rm .github/ISSUE_TEMPLATE.md || :
260260
git commit -m 'Bot Updating Templated Files'
261261
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
262262
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}

0 commit comments

Comments
 (0)