only pull on master

This commit is contained in:
Ellpeck 2020-03-15 13:20:58 +01:00
parent 76e2e86eab
commit e55d4fc0a5

3
Jenkinsfile vendored
View file

@ -2,6 +2,9 @@ pipeline {
agent any agent any
stages { stages {
stage('Pull') { stage('Pull') {
when {
branch 'master'
}
steps { steps {
sh '''cd /var/www/ellpeck sh '''cd /var/www/ellpeck
git pull''' git pull'''