Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. pipeline {
  2. agent any
  3. environment {
  4. THIS_BUILD = 'Debug'
  5. THIS_VERSION = '1.0'
  6. }
  7.  
  8. stages {
  9. stage('Get latest script') {
  10. steps {
  11. sh 'python --version > .resource'
  12. }
  13. }
  14.  
  15. stage('Build a VM') {
  16. steps {
  17. sh 'whoami >> .resource'
  18. }
  19. }
  20.  
  21. stage('Create a Test Run') {
  22. steps {
  23. sh 'java -version >> .resource'
  24. }
  25. }
  26.  
  27. stage('Run tests') {
  28. steps {
  29. alldata = readFile (file: '.resource')
  30. }
  31. }
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement