Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pipeline {
- agent any
- environment {
- THIS_BUILD = 'Debug'
- THIS_VERSION = '1.0'
- }
- stages {
- stage('Get latest script') {
- steps {
- sh 'python --version > .resource'
- }
- }
- stage('Build a VM') {
- steps {
- sh 'whoami >> .resource'
- }
- }
- stage('Create a Test Run') {
- steps {
- sh 'java -version >> .resource'
- }
- }
- stage('Run tests') {
- steps {
- alldata = readFile (file: '.resource')
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement