Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 9974f69

Browse files
authored
Change the ownership of the test codes after unzip to be able to cleanup workspace (#144)
* Fix cleanup workspace issue after Docker run * Update test code file ownership
1 parent 47e9ccb commit 9974f69

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pipeline {
3636
}
3737
}
3838

39-
stage('Test') {
39+
stage('Test on docker agent') {
4040
agent {
4141
label "docker-build"
4242
}
@@ -71,6 +71,8 @@ pipeline {
7171
docker system df
7272
df -lh
7373
'''
74+
echo 'Clean up workspace'
75+
deleteDir() /* clean up our workspace */
7476
}
7577
}
7678
}

dev/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ echo "Unzipping features..."
1212
cd /development/ant_build/artifacts/
1313

1414
unzip codewind-openapi-eclipse-0*.zip -d code
15+
chmod -R 777 code
1516

1617
unzip codewind-openapi-eclipse-test*.zip -d test
18+
chmod -R 777 test
1719

1820
cd /home
1921

0 commit comments

Comments
 (0)