parse_saby/Jenkinsfile

21 lines
367 B
Groovy

pipeline {
agent { label 'agent_smith' }
stages {
stage('recreate > build > reun container') {
steps {
sh "docker-compose up --force-recreate --build -d parse_saby"
sh "docker image prune -f"
}
}
stage('show logs') {
steps {
sh '''
docker-compose logs -f
'''
}
}
}
}