Jenkins fixes
gitea/vn-vmware/master There was a failure building this commit
Details
gitea/vn-vmware/master There was a failure building this commit
Details
This commit is contained in:
parent
3631ac59ad
commit
2727381d7f
|
@ -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"'
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue