Publishing packages
testing/ogcore-api/pipeline/head This commit looks good Details
ogcore-debian-package/pipeline/head There was a failure building this commit Details

fix_mercure_in_containers
Nicolas Arenas 2025-03-13 21:51:09 +01:00
parent 02542d23e1
commit 6ce1f99a3e
1 changed files with 11 additions and 0 deletions

View File

@ -23,9 +23,20 @@ pipeline {
sh '''
composer require symfony/flex
dpkg-buildpackage -us -uc
sh 'mkdir -p ../artifacts && mv ../*.deb ../*.changes ../*.buildinfo ../artifacts/'
'''
}
archiveArtifacts artifacts: 'artifacts/*.deb', fingerprint: true
}
}
stage ('Publish to Debian Repository') {
agent { label 'debian-repo' }
steps {
copyArtifacts projectName: env.JOB_NAME, filter: 'artifacts/*.deb', fingerprintArtifacts: true, target: 'debian-repo/'
sh '''
aptly repo add opengsnys-devel debian-repo/*.deb
'''
}
}
}
}
}