Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
devalex88 committed May 9, 2019
1 parent 3867217 commit 6846468
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pipeline {
lock('katalon-docker-images') {
sh '''
chmod u+x ./build/*.sh
./build/clean.sh
./build/clean.sh $KS_VERSION
./build/build.sh $KS_VERSION
./build/tag.sh $KS_VERSION
Expand Down
4 changes: 3 additions & 1 deletion build/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

set -xe

docker rmi katalonstudio/katalon:test || echo 'No image to delete.'
ksversion=$1

docker rmi katalonstudio/katalon:$ksversion || echo 'No image to delete.'
2 changes: 1 addition & 1 deletion test/project/run_chrome.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
set currentdir=%cd::\=/%
set currentdir=%currentdir:\=/%

docker run -t --rm -v "/%currentdir%:/tmp/source" -w /tmp/source katalonstudio/katalon:test katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/TS_RegressionTest"
docker run -t --rm -v "/%currentdir%:/tmp/source" -w /tmp/source katalonstudio/katalon:%1 katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/TS_RegressionTest"

0 comments on commit 6846468

Please sign in to comment.