equivs/.Jenkinsfile
David Prevot c7089a0e95
Some checks failed
gitea/equivs/pipeline/head There was a failure building this commit
CI: fix syntax
2022-09-28 12:12:15 +02:00

36 lines
914 B
Plaintext

pipeline {
agent { label 'equivs' }
stages {
stage('Build Debian (equivs) package(s)') {
steps {
script {
sh 'for i in mysql-client ; do equivs-build ${i}.ctl ; 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()
}
}
}