Skip to content

Commit 380f2f9

Browse files
fix(ci-cd): use POSIX dot operator instead of source in Jenkins snippet (#882)
sh blocks in Jenkins Declarative Pipeline run under /bin/sh (dash on Ubuntu), which does not have source. Replace with . which is the POSIX equivalent and works in both sh and bash. Signed-off-by: Harshit Pathak <harshit07pathak@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 11febac commit 380f2f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

versioned_docs/version-4.0.0/ci-cd/jenkins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ pipeline {
204204
stage('Install Keploy Enterprise') {
205205
steps {
206206
sh '''
207-
curl --silent -O -L https://keploy.io/ent/install.sh && source install.sh
207+
curl --silent -O -L https://keploy.io/ent/install.sh && . install.sh
208208
'''
209209
}
210210
}

0 commit comments

Comments
 (0)