diff --git a/Jenkinsfile b/Jenkinsfile index 1b7cab0..165b9aa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,6 +32,13 @@ spec: - titan-15 - titan-17 - titan-19 + topologySpreadConstraints: + - maxSkew: 1 + topologyKey: kubernetes.io/hostname + whenUnsatisfiable: ScheduleAnyway + labelSelector: + matchLabels: + jenkins/jenkins-jenkins-agent: "true" imagePullSecrets: - name: harbor-robot-pipeline containers: