OP#253 add build stage rpm upload
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -126,13 +126,6 @@ pipeline {
|
|||||||
--package "${rpmPath}" \
|
--package "${rpmPath}" \
|
||||||
-f
|
-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
|
// Cleanup
|
||||||
sh "rm -rf build/prometheus prometheus.tar.gz prometheus-${version}.linux-amd64 gitea-repo-public.key"
|
sh "rm -rf build/prometheus prometheus.tar.gz prometheus-${version}.linux-amd64 gitea-repo-public.key"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user