ci: refs #7643 Reprepro includedeb fix
gitea/hedera-web/pipeline/head There was a failure building this commit
Details
gitea/hedera-web/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
29168a6927
commit
979b1293a9
|
@ -50,6 +50,10 @@ pipeline {
|
||||||
branch 'test'
|
branch 'test'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
environment {
|
||||||
|
REPREPRO_DIR = '/var/lib/reprepro'
|
||||||
|
REPO_DIR = "$REPREPRO_DIR/repo"
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
unstash 'debuildOutput'
|
unstash 'debuildOutput'
|
||||||
script {
|
script {
|
||||||
|
@ -72,11 +76,11 @@ pipeline {
|
||||||
sshPut([
|
sshPut([
|
||||||
remote: remote,
|
remote: remote,
|
||||||
from: "output/$debFile",
|
from: "output/$debFile",
|
||||||
into: '/var/lib/reprepro/repo/incoming'
|
into: "$REPO_DIR/incoming"
|
||||||
])
|
])
|
||||||
sshCommand([
|
sshCommand([
|
||||||
remote: remote,
|
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"
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue