BAEL-4737:- Jenkins pipeline - change to another folder (#13242)

This commit is contained in:
Kapil Khandelwal 2023-01-06 04:28:26 +05:30 committed by GitHub
parent f63772f5e4
commit 08dd5a6f90
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,11 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
dir('/var/jenkins_home/workspace/SamplePipeline/scripts') {
}
}
}
}
}

View File

@ -0,0 +1,11 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
dir('scripts') {
}
}
}
}
}

View File

@ -0,0 +1,10 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
sh 'cd scripts'
}
}
}
}