diff --git a/services/jellyfin/oidc/Jenkinsfile b/services/jellyfin/oidc/Jenkinsfile index 47f4af1d..b2b0b158 100644 --- a/services/jellyfin/oidc/Jenkinsfile +++ b/services/jellyfin/oidc/Jenkinsfile @@ -572,8 +572,8 @@ EOF ref_host="$(echo "${HARBOR_REPO}" | cut -d/ -f1)" "${ORAS_BIN}" login "${ref_host}" -u "${HARBOR_USERNAME}" -p "${HARBOR_PASSWORD}" artifact="${WORKDIR}/artifact/OIDC_Authentication_${PLUGIN_VERSION}-net9.zip" - "${ORAS_BIN}" push "${HARBOR_REPO}:${JELLYFIN_VERSION}" "${artifact}:application/zip" --artifact-type application/zip - "${ORAS_BIN}" push "${HARBOR_REPO}:latest" "${artifact}:application/zip" --artifact-type application/zip + "${ORAS_BIN}" push "${HARBOR_REPO}:${JELLYFIN_VERSION}" "${artifact}:application/zip" --artifact-type application/zip --disable-path-validation + "${ORAS_BIN}" push "${HARBOR_REPO}:latest" "${artifact}:application/zip" --artifact-type application/zip --disable-path-validation ''' } } @@ -588,7 +588,9 @@ EOF container('dotnet') { sh ''' set -eu - python - <<'PY' + apt-get update >/dev/null 2>&1 + apt-get install -y --no-install-recommends python3 >/dev/null 2>&1 + python3 - <<'PY' import os import urllib.request from pathlib import Path diff --git a/services/jenkins/configmap-jcasc.yaml b/services/jenkins/configmap-jcasc.yaml index e9687036..c3dcea81 100644 --- a/services/jenkins/configmap-jcasc.yaml +++ b/services/jenkins/configmap-jcasc.yaml @@ -73,58 +73,6 @@ data: } } } - pipelineJob('jellyfin-oidc-plugin') { - properties { - pipelineTriggers { - triggers { - scmTrigger { - scmpoll_spec('H/5 * * * *') - ignorePostCommitHooks(false) - } - } - } - } - definition { - cpsScm { - scm { - git { - remote { - url('https://scm.bstein.dev/bstein/titan-iac.git') - credentials('gitea-pat') - } - branches('*/main') - } - } - scriptPath('services/jellyfin/oidc/Jenkinsfile') - } - } - } - pipelineJob('ci-demo') { - properties { - pipelineTriggers { - triggers { - scmTrigger { - scmpoll_spec('H/1 * * * *') - ignorePostCommitHooks(false) - } - } - } - } - definition { - cpsScm { - scm { - git { - remote { - url('https://scm.bstein.dev/bstein/ci-demo.git') - credentials('gitea-pat') - } - branches('*/master') - } - } - scriptPath('Jenkinsfile') - } - } - } pipelineJob('bstein-dev-home') { properties { pipelineTriggers {