15 lines
No EOL
181 B
Groovy
15 lines
No EOL
181 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Pull') {
|
|
when {
|
|
branch 'master'
|
|
}
|
|
steps {
|
|
sh '''cd /var/www/ellpeck
|
|
git pull'''
|
|
}
|
|
}
|
|
|
|
}
|
|
} |