ci: refs #7643 Reprepro & debuild fixes
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
b62185289f
commit
29168a6927
|
@ -56,7 +56,6 @@ pipeline {
|
|||
def files = findFiles(glob: 'output/*.deb')
|
||||
files.each { file -> debFile = file.name }
|
||||
}
|
||||
echo debFile
|
||||
|
||||
withCredentials([sshUserPrivateKey(
|
||||
credentialsId: 'jenkins-agent',
|
||||
|
@ -69,16 +68,15 @@ pipeline {
|
|||
remote.name = 'reprepro'
|
||||
remote.host = 'reprepro.reprepro'
|
||||
remote.allowAnyHosts = true
|
||||
remote.logLevel = 'FINEST'
|
||||
}
|
||||
sshPut([
|
||||
remote: remote,
|
||||
from: "output/$debFile",
|
||||
into: '/var/www/html/incoming'
|
||||
into: '/var/lib/reprepro/repo/incoming'
|
||||
])
|
||||
sshCommand([
|
||||
remote: remote,
|
||||
command: "sudo -u www-data reprepro -b /reprepro --gnupghome /reprepro/.gnupg includedeb bookworm /var/www/html/incoming/$debFile"
|
||||
command: "reprepro -b /reprepro --gnupghome /reprepro/.gnupg includedeb bookworm /var/lib/reprepro/repo/incoming/$debFile"
|
||||
])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue