Select Git revision
Jenkinsfile
Burhan Akbar authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Jenkinsfile 447 B
pipeline {
agent any // Changed from "label 'my-agent-label'"
stages {
stage('Build') {
steps {
sh 'chmod +x gradlew' // to make gradlew executable
sh './gradlew clean build'
}
}
stage('Deploy with Docker') {
steps {
sh 'docker-compose down || true'
sh 'docker-compose up -d'
}
}
}
}