Fix typo
ogcore-debian-package/pipeline/head This commit looks good Details

fix_mercure_in_containers
Nicolas Arenas 2025-03-14 00:03:59 +01:00
parent 57ad3b849c
commit 3b854f822e
1 changed files with 5 additions and 10 deletions

View File

@ -31,24 +31,19 @@ pipeline {
composer require symfony/flex
dpkg-buildpackage -us -uc
mkdir -p ../artifacts && mv ../*.deb ../*.changes ../*.buildinfo ../artifacts/
ssh aptly@172.17.8.68 "rm -rf /var/tmp/opengnsys/debian-repo && mkdir -p /var/tmp/opengnsys/debian-repo"
scp -r ../artifacts/* aptly@172.17.8.68:/var/tmp/opengnsys/debian-repo/
'''
}
archiveArtifacts artifacts: 'artifacts/*.deb', fingerprint: true
}
}
stage ('Publish to Debian Repository') {
agent { label 'debian-repo' }
steps {
script {
sh "mkdir -p ${WORKSPACE}/debian-repo"
}
copyArtifacts projectName: env.JOB_NAME, filter: 'artifacts/*.deb', fingerprintArtifacts: true, target: 'debian-repo/'
dir("${WORKSPACE}/debian-repo") {
sh '''
aptly repo add opengnsys-devel *.deb
'''
}
sh "aptly repo add opengnsys-devel /var/tmp/opengnsys/debian-repo/*.deb"
}
}
}
}