equivs/.Jenkinsfile

36 lines
908 B
Plaintext
Raw Normal View History

2022-09-28 11:52:02 +02:00
pipeline {
agent { label 'equivs' }
2022-09-28 12:05:31 +02:00
stages {
2022-09-28 11:52:02 +02:00
stage('Build Debian (equivs) package(s)') {
steps {
script {
2022-09-28 12:11:17 +02:00
sh 'for i in mysql-client ; do equivs-build $i ; done'
2022-09-28 11:52:02 +02:00
}
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/'
*/
}
}
}
}
2022-09-28 12:05:31 +02:00
2022-09-28 11:52:02 +02:00
post {
// Clean after build
always {
cleanWs()
}
}
}