Niclas Thobaben b2a0359a43 | ||
---|---|---|
vars | ||
.gitignore | ||
README.md |
README.md
Jenkins Commons
A shared library for common jenkins tasks.
Declarative Pipeline Integration
Make sure the step is run inside a provision
node, as the step uses ansible.
i.e.
stage('Run Deployment') {
agent { label "provision" }
steps {
deployToSwarm(
name: 'my-swarm-stack',
stackFile: "${env.WORKSPACE}/docker-compose.yml"
forceUpdate: true,
askApproval: true
)
}
}