3
0

OP#253 add build stage rpm upload

This commit is contained in:
12ww1160
2025-12-12 20:56:44 +01:00
parent bb0a2dae30
commit 91a1f4863e

7
Jenkinsfile vendored
View File

@@ -126,13 +126,6 @@ pipeline {
--package "${rpmPath}" \
-f
"""
// Download and import the repo public key (optional but recommended)
sh """
curl -fL -o gitea-repo-public.key https://gitea.confdroid.com/api/packages/confdroid/rpm/repository.key
rpm --import gitea-repo-public.key || true
"""
// Cleanup
sh "rm -rf build/prometheus prometheus.tar.gz prometheus-${version}.linux-amd64 gitea-repo-public.key"
}