jenkins-util/vars/dockerStackDeploy.groovy

6 lines
144 B
Groovy
Raw Permalink Normal View History

2021-04-29 21:59:32 +00:00
#!/usr/bin/env groovy
def call() {
sh 'docker stack deploy --with-registry-auth --prune --compose-file docker-compose.yml $PROJECT_NAME'
}