123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- pipeline {
- agent {
- label "swarm"
- }
- parameters {
- string(
- name: "build_repo",
- defaultValue: "prod",
- description: "Repository to build from. To not build - set parameter to 'none'."
- )
- string(
- name: "service_update",
- defaultValue: "",
- description: "Services to update - i.e. node or/and node-api"
- )
- }
- stages
- stage("Build") {
- when
- steps
- echo
- sh
- }
- }
- stage("Update") {
- when
- allOf
- expression
- expression
- }
- }
- steps
- echo
- script
- for
- echo
- if
- sh
- }
- }
- }
- sh
- }
- }
- }
- post
- always
- echo
- }
- changed
- echo
- }
- failure
- echo
- }
- success
- echo
- }
- unstable
- echo
- }
- aborted
- echo
- }
- }
- }
|