podTemplate(showRawYaml: true, label: "alpine1", cloud: "Build farm", containers: [
containerTemplate(name: 'alpine', image: 'alpine', ttyEnabled: true, command: "cat")]) {
node ("alpine1") {
container('alpine') {
sh 'whoami'
podTemplate(showRawYaml: true, label: "golang", cloud: "Build farm", containers: [
containerTemplate(name: 'golang', image: 'golang', ttyEnabled: true, command: "cat")]) {
node ("golang") {
container('golang') {
sh 'sleep 120'
}
}
}
}
}
}