Skip to content

Commit

Permalink
Merge pull request #256 from linuxserver/master-xml-deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxedus authored May 9, 2024
2 parents 4b31de1 + b482081 commit f54f7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/generate-jenkins/templates/Jenkinsfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ pipeline {
fi
{% endif %}
if grep -wq "${CONTAINER_NAME}" ${TEMPDIR}/unraid/templates/unraid/ignore.list; then
if [[ -f ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ]]; then
if [[ -f ${TEMPDIR}/unraid/templates/unraid/${CONTAINER_NAME}.xml ]] || [[ -f ${TEMPDIR}/unraid/templates/unraid/deprecated/${CONTAINER_NAME}.xml ]]; then
echo "Image is on the ignore list, marking Unraid template as deprecated"
cp ${TEMPDIR}/docker-${CONTAINER_NAME}/.jenkins-external/${CONTAINER_NAME}.xml ${TEMPDIR}/unraid/templates/unraid/
git add -u unraid/${CONTAINER_NAME}.xml
Expand Down

0 comments on commit f54f7c2

Please sign in to comment.