Skip to content

Commit 21fbae3

Browse files
authored
Update Jenkinsfile
1 parent 13f6ea8 commit 21fbae3

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
@@ -242,11 +242,11 @@ pipeline {
242242
cd ${TEMPDIR}/docker-${CONTAINER_NAME}
243243
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/workflows
244244
mkdir -p ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE
245-
rm ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE.md
245+
rm -f ${TEMPDIR}/repo/${LS_REPO}/.github/ISSUE_TEMPLATE.md
246246
cp --parents ${TEMPLATED_FILES} ${TEMPDIR}/repo/${LS_REPO}/ || :
247247
cd ${TEMPDIR}/repo/${LS_REPO}/
248248
git add ${TEMPLATED_FILES}
249-
git rm .github/ISSUE_TEMPLATE.md
249+
git rm .github/ISSUE_TEMPLATE.md || :
250250
git commit -m 'Bot Updating Templated Files'
251251
git push https://LinuxServer-CI:${GITHUB_TOKEN}@github.com/${LS_USER}/${LS_REPO}.git --all
252252
echo "true" > /tmp/${COMMIT_SHA}-${BUILD_NUMBER}

0 commit comments

Comments
 (0)