Skip to content

Commit 984bfbc

Browse files
committed
add arm64 example
1 parent ead128a commit 984bfbc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Jenkinsfile-example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,6 @@ getTemplate.UtilBuildxPhp([:], ['spec': ['nodeSelector': ['foo' : 'bar', 'dedica
179179

180180
//ADD UTIL AND MULTIPLE SAME KANIKO CONTAINERS WITH DIFERENT NAMES, REMOVE EXISTING SELECTOR, ADD NEW SELECTOR, CHANGE SERVICE ACCOUNT
181181
getTemplate.Jnlp('util': [:], 'kaniko': [names: ["k1", "k2"]], ['spec.nodeSelector.dedicated' : null , 'spec.nodeSelector.foo': 'bar' , 'spec.serviceAccountName' : 'foobar' ])
182+
183+
//SELECT ARM64 ARCH
184+
String podTemplateYaml = getTemplate.UtilBuildx([:], ["spec":["nodeSelector": ["dedicated":"jenkins-arm64"], "tolerations": [[effect: "NoSchedule", key: "dedicated", value: "jenkins-arm64"]]]])

0 commit comments

Comments
 (0)