Files
Status/Jenkinsfile
2024-05-05 20:06:18 +02:00

21 lines
473 B
Groovy

pipeline {
agent any
stages {
stage('Checkout') {
steps {
// Hace un checkout del repositorio Git
git 'https://ruta-al-repositorio.git'
}
}
stage('Pull') {
steps {
// Ejecuta un Git Pull en la carpeta deseada
script {
sh 'cd /home/userpi/Status && git pull'
}
}
}
}
}