Guest User

Untitled

a guest
May 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. podTemplate(label: 'pod 1', containers: [ containerTemplate(...)]) {
  2. node('pod1') {
  3. container('container1') {
  4. // start service 1
  5. }
  6. }
  7. }
  8. podTemplate(label: 'pod 2', containers[ containerTemplate(...)]) {
  9. node('pod2') {
  10. container('container2') {
  11. // start service 2
  12. }
  13. }
  14. stage ('Run test') {
  15. node {
  16. sh 'run something that causes service 1 to query service 2'
  17. }
  18. }
Add Comment
Please, Sign In to add comment