equivs/.Jenkinsfile
David Prevot b9d587817f
All checks were successful
gitea/equivs/pipeline/head This commit looks good
CI: Upload to pub2
2022-12-12 16:49:55 +01:00

33 lines
746 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 *.changes pub.evolix.org:/srv/upload/'
}
}
}
}
post {
// Clean after build
always {
cleanWs()
}
}
}