only pull on master
This commit is contained in:
parent
76e2e86eab
commit
e55d4fc0a5
1 changed files with 3 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -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'''
|
||||||
|
|
Loading…
Reference in a new issue