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

This commit is contained in:
Juan Ferrer 2020-01-16 16:44:58 +01:00
parent 85948fd007
commit 06c71df9c2
1 changed files with 3 additions and 4 deletions

7
Jenkinsfile vendored
View File

@ -30,12 +30,12 @@ pipeline {
agent { agent {
docker { docker {
image 'registry.verdnatura.es/vn-debuild' image 'registry.verdnatura.es/vn-debuild'
registryUrl 'registry.verdnatura.es' registryUrl 'https://registry.verdnatura.es/'
registryCredentialsId 'docker-registry' registryCredentialsId 'docker-registry'
} }
} }
steps { steps {
sh 'pwd' sh 'ls /var/jenkins_home'
sh 'debuild -us -uc -b' sh 'debuild -us -uc -b'
} }
} }
@ -48,11 +48,10 @@ pipeline {
image 'registry.verdnatura.es/vn-debuild' image 'registry.verdnatura.es/vn-debuild'
registryUrl 'https://registry.verdnatura.es/' registryUrl 'https://registry.verdnatura.es/'
registryCredentialsId 'docker-registry' registryCredentialsId 'docker-registry'
args '-u www-data -v jenkins_master:"$JENKINS_HOME" -v /mnt/storage/reprepro:/reprepro' args '-u www-data -v /mnt/storage/reprepro:/reprepro'
} }
} }
steps { steps {
sh 'pwd'
sh 'vn-include "$WORKSPACE"' sh 'vn-include "$WORKSPACE"'
} }
} }