1
0
Fork 0

Feature/jenkins pipeline (#2602)

* always clean test directory before testing
This commit is contained in:
Frank Celler 2017-06-18 23:01:43 +02:00 committed by GitHub
parent b48583e68f
commit 2680a1aaf8
3 changed files with 5 additions and 2 deletions

View File

@ -37,6 +37,7 @@ def checkoutCommunity() {
retry(3) { retry(3) {
try { try {
checkout scm checkout scm
sh 'git clean -f -d -x'
} }
catch (exc) { catch (exc) {
echo "GITHUB checkout failed, retrying in 5min" echo "GITHUB checkout failed, retrying in 5min"
@ -77,6 +78,8 @@ def checkoutEnterprise() {
submoduleCfg: [], submoduleCfg: [],
userRemoteConfigs: [[credentialsId: credentials, url: enterpriseRepo]]]) userRemoteConfigs: [[credentialsId: credentials, url: enterpriseRepo]]])
} }
sh 'cd enterprise && git clean -f -d -x'
} }
def checkCommitMessages() { def checkCommitMessages() {

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
./Installation/Pipeline/include/test_singleserver_community_ENGINE.inc $1 mmfiles ./Installation/Pipeline/include/test_singleserver_community_ENGINE_linux.inc $1 mmfiles

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
./Installation/Pipeline/include/test_singleserver_community_ENGINE.inc $1 rocksdb ./Installation/Pipeline/include/test_singleserver_community_ENGINE_linux.inc $1 rocksdb