diff --git a/Jenkinsfile b/Jenkinsfile index 3a481a2..807c419 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,6 +2,9 @@ pipeline { agent any stages { stage('Pull') { + when { + branch 'master' + } steps { sh '''cd /var/www/ellpeck git pull'''