Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. definitions:
  2. steps:
  3. - step: &runNodeCommands
  4. image: alpine/node
  5. name: "Node commands"
  6. script:
  7. - npm --version
  8.  
  9. pipelines:
  10. branches:
  11. master:
  12. - step: *runNodeCommands
  13.  
  14. definitions:
  15. steps:
  16. - step: &runCommands
  17. image: my-user/my-container-with-eslint
  18. name: "Running awesome script"
  19. script:
  20. - ./awesomeScript.sh -a $PARAM1 -e $PARAM2
  21.  
  22. pipelines:
  23. branches:
  24. master:
  25. - step: *runCommands
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement