Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Since v1.3 this plugin is not only integrated with Workflow plugin but it also adds a Workflow step called awaitDeployment. The example below shows you how to use the awaitDeployment step on a Workflow DSL.

No Format

node('unix-slave') {
git changelog: false, credentialsId: '', url: 'git@github.com:fbelzunc/spring-petclinic-clickstart.git'
sh 'mvn clean package -Dmaven.test.skip=true'

step([$class: 'ArtifactArchiver', artifacts: 'target/petclinic.war', fingerprint: true])

}

awaitDeployment env: 'production', threshold: 1

Changelog

Version 1.3 (Jun 27, 2016)

...