Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- podTemplate(label: 'pod 1', containers: [ containerTemplate(...)]) {
- node('pod1') {
- container('container1') {
- // start service 1
- }
- }
- }
- podTemplate(label: 'pod 2', containers[ containerTemplate(...)]) {
- node('pod2') {
- container('container2') {
- // start service 2
- }
- }
- stage ('Run test') {
- node {
- sh 'run something that causes service 1 to query service 2'
- }
- }
Add Comment
Please, Sign In to add comment