ci: refs #7643 Reprepro includedeb fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-07-09 10:45:22 +02:00
parent 29168a6927
commit 979b1293a9
1 changed files with 6 additions and 2 deletions

8
Jenkinsfile vendored
View File

@ -50,6 +50,10 @@ pipeline {
branch 'test'
}
}
environment {
REPREPRO_DIR = '/var/lib/reprepro'
REPO_DIR = "$REPREPRO_DIR/repo"
}
steps {
unstash 'debuildOutput'
script {
@ -72,11 +76,11 @@ pipeline {
sshPut([
remote: remote,
from: "output/$debFile",
into: '/var/lib/reprepro/repo/incoming'
into: "$REPO_DIR/incoming"
])
sshCommand([
remote: remote,
command: "reprepro -b /reprepro --gnupghome /reprepro/.gnupg includedeb bookworm /var/lib/reprepro/repo/incoming/$debFile"
command: "reprepro -b $REPO_DIR --gnupghome $REPREPRO_DIR/.gnupg includedeb bookworm $REPO_DIR/incoming/$debFile"
])
}
}