Skip to content

Commit

Permalink
Improving Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Oct 28, 2023
1 parent 74cfc98 commit bde4857
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,35 @@ pipeline {
disableConcurrentBuilds()
}
stages {
stage('Clone eShopContainers Project') {
stage('Clone eShopContainers SUT') {
steps {
checkout([
$class: 'GitSCM',
branches: [[name: '*/retorch']],
userRemoteConfigs: [[url: 'https://github.com/augustocristian/retorch-st-eShopOnContainers.git']]
userRemoteConfigs: [[url: 'https://github.com/augustocristian/retorch-st-eShopOnContainers.git']],
scmName: 'SUT'
])
checkout scm

sh 'ls -la .'
sh 'echo SUBDIR'
sh 'ls -la ..'
}

}

stage('Clone eShopContainers Test Suite') {
steps {
checkout([
$class: 'GitSCM',
branches: [[name: 'env.GIT_BRANCH']],
userRemoteConfigs: [[url: 'https://github.com/giis-uniovi/retorch-st-eShopContainers.git']],
scmName: 'E2ESuite'
])
sh 'ls -la .'
sh 'echo SUBDIR'
sh 'ls -la ..'
}
}
stage('SETUP-Infrastructure') {
steps {
sh 'chmod +x -R ./eshopcontainers-e2etestsuite/retorchfiles/scripts'
Expand Down

0 comments on commit bde4857

Please sign in to comment.