equivs/.Jenkinsfile
David Prevot 7b6969c52e
Some checks failed
gitea/equivs/pipeline/head There was a failure building this commit
CI: explicitely build mysql-client
2022-09-28 12:11:17 +02:00

36 lines
908 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 ; 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()
}
}
}