equivs/.Jenkinsfile
David Prevot 29ee4c3a57
All checks were successful
gitea/equivs/pipeline/head This commit looks good
CI: Push *.buildinfo too
2022-12-22 11:40:30 +01:00

33 lines
758 B
Plaintext

pipeline {
agent { label 'equivs' }
stages {
stage('Build Debian (equivs) package(s)') {
steps {
script {
sh 'for i in *.ctl ; do equivs-build $i ; done'
}
archiveArtifacts allowEmptyArchive: true, artifacts: '*.deb,*.changes,*.buildinfo'
}
}
stage('Upload Debian (equivs) packages') {
when {
branch 'main'
}
steps {
script {
sh 'rsync -avP *.deb *.buildinfo *.changes pub.evolix.org:/srv/upload/'
}
}
}
}
post {
// Clean after build
always {
cleanWs()
}
}
}