Guest User

Untitled

a guest
Feb 16th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. pipeline {
  2. agent {
  3. node {
  4. label "$LABEL" //get node label as parameter. This label has only 1 node agent
  5. customWorkspace "/sen/home/jenkins_jobs/${env.JOB_BASE_NAME}/"
  6. }
  7. }
  8.  
  9. stages {
  10. stage('declarative parallel') {
  11. parallel {
  12. stage('tiny repos') {
  13. steps {
  14. sh(script: "sudo python scripts/run_gc.py -repofile tiny.txt")
  15. }
  16. }
  17. stage('small repos') {
  18. steps {
  19. sh(script: "sudo python scripts/run_gc.py -repofile small.txt")
  20. }
  21. }
  22. }
  23. }
  24. }
Add Comment
Please, Sign In to add comment