Skip to content

Commit 44e5348

Browse files
committed
Cleanup pipelines, avoid spaces in ws path in Jenkins pipelines.
Signed-off-by: Sergey Minaev <[email protected]>
1 parent 284aaa0 commit 44e5348

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Jenkinsfile.cd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ def linuxTesting(file, env_name, run_interoperability_tests, network_name, stash
243243
def windowsTesting() {
244244
node('win2016') {
245245
stage('Windows Test') {
246-
ws("workspace\\${env.JOB_NAME}") {
246+
def ws_path = "workspace/${env.JOB_NAME}".replace(' ', '_')
247+
ws(ws_path) {
247248
try {
248249
echo "Windows Test: Checkout scm"
249250
checkout scm

Jenkinsfile.ci

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ def testing() {
1717
def windowsTesting() {
1818
node('win2016') {
1919
stage('Windows Test') {
20-
ws("workspace\\${env.JOB_NAME}") {
20+
def ws_path = "workspace/${env.JOB_NAME}".replace(' ', '_')
21+
ws(ws_path) {
2122
try {
2223
echo "Windows Test: Checkout scm"
2324
checkout scm

0 commit comments

Comments
 (0)