rename credential
All checks were successful
gitea/pkg-diag/pipeline/head This commit looks good

This commit is contained in:
BigfootACA 2024-04-27 02:08:13 +08:00
parent 9b43774f9e
commit cc47296c87

6
Jenkinsfile vendored
View File

@ -17,14 +17,14 @@ pipeline {
}
stage('Build') {
steps {
sh 'makepkg --config jenkins-utils/makepkg-aarch64.conf --syncdeps --force'
sh 'makepkg --config jenkins-utils/makepkg-aarch64.conf --syncdeps --noconfirm --force'
}
}
stage('Signature packages') {
steps {
withCredentials([
file(credentialsId: 'gpg-file', variable: 'GPG_FILE'),
string(credentialsId: 'gpg-secret', variable: 'GPG_SECRET')
file(credentialsId: 'ci-gpg-file', variable: 'GPG_FILE'),
string(credentialsId: 'ci-gpg-secret', variable: 'GPG_SECRET')
]) {
sh 'python3 jenkins-utils/sign-pkg.py -d . -k "$GPG_FILE" -p "$GPG_SECRET"'
}