Jenkins fixes
gitea/vn-vmware/master There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2020-01-16 16:12:43 +01:00
parent 3631ac59ad
commit 2727381d7f
1 changed files with 15 additions and 0 deletions

15
Jenkinsfile vendored
View File

@ -37,6 +37,21 @@ pipeline {
}
steps {
sh 'vn-debuild "$WORKSPACE"'
}
}
stage('Deploy') {
when {
branch 'master'
}
agent {
docker {
image 'registry.verdnatura.es/vn-debuild'
registryUrl 'https://registry.verdnatura.es/'
registryCredentialsId 'docker-registry'
args '-u www-data -v jenkins_master:"$JENKINS_HOME" -v /mnt/storage/reprepro:/reprepro'
}
}
steps {
sh 'vn-include "$WORKSPACE"'
}
}