From 0abd316d13707ea9e137eb757a46300b4d50983f Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Thu, 12 May 2022 02:28:07 -0500 Subject: [PATCH] Fixed Jenkinsfile typo. Fixed server launch path in Jenkinsfile. --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 58958a4..0a6e2ab 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,9 @@ pipeline { stages { stage("server launch test") { steps { - sh "./run.sh" + dir('server') { + sh "./run.sh" + } logParser failBuildOnError: true, projectRulePath: 'Jenkinsparse', parsingRulesPath: 'Jenkinsparse', showGraphs: true, unstableOnWarning: true, useProjectRule: true sh 'git reset --hard' } @@ -18,4 +20,5 @@ pipeline { fingerprint 'publish/*.zip' } } + } } \ No newline at end of file