equivs/.Jenkinsfile
David Prevot f3e75b7799
Some checks failed
gitea/equivs/pipeline/head There was a failure building this commit
Initial commit
2022-09-28 11:52:02 +02:00

33 lines
886 B
Plaintext

pipeline {
agent { label 'equivs' }
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 'debian'
}
steps {
script {
sh 'echo Dummy line to remove once something actually happens.'
/* No crendentials yet.
sh 'rsync -avP *.deb droneci@pub.evolix.net:/home/droneci/equivs/'
*/
}
}
}
}
post {
// Clean after build
always {
cleanWs()
}
}
}