From: Michael Tremer Date: Thu, 5 Dec 2024 15:29:11 +0000 (+0000) Subject: jenkins: Publish files to the master mirror X-Git-Tag: 0.9.30~752 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9ae7b360c9afdb2f9a065ed45f604a8d07d7c7f;p=pakfire.git jenkins: Publish files to the master mirror Signed-off-by: Michael Tremer --- diff --git a/Jenkinsfile b/Jenkinsfile index e73aad859..23d44d537 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -499,8 +499,20 @@ pipeline { sh 'kinit -kV -t $KEYTAB' } + // Publish files + sh """ + rsync \ + --archive \ + --verbose \ + --delete \ + --delete-excluded \ + --delay-updates \ + packages/debian/ \ + pakfire@fs01.haj.ipfire.org:/pub/mirror/packages/debian/pakfire + """ - // XXX This needs to be published on a mirror server somewhere + // Destroy the Kerberos credentials + sh "kdestroy" } } }