equivs/.Jenkinsfile
David Prevot 3cadc55e18
All checks were successful
gitea/equivs/pipeline/head This commit looks good
Fix control file name
2022-09-28 12:13:55 +02:00

36 lines
901 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 '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()
}
}
}