123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- pipeline {
- agent {
- label "swarm"
- }
- parameters {
- string(
- name: "service",
- defaultValue: "",
- description: "The name of service that should be scaled"
- )
- string(
- name: "scale",
- defaultValue: "",
- description: "Number of replicas to add or remove."
- )
- }
- stages
- stage("Scale") {
- steps
- echo
- sh
- }
- }
- }
- post
- always
- echo
- }
- changed
- echo
- }
- failure
- echo
- }
- success
- echo
- }
- unstable
- echo
- }
- aborted
- echo
- }
- }
- }
|