commit | 6d17194a7570b65a884cc04880382a0cb309cb2f | [log] [tgz] |
---|---|---|
author | You Wang <you@opennetworking.org> | Wed Oct 17 11:45:05 2018 -0700 |
committer | You Wang <you@opennetworking.org> | Wed Oct 17 11:45:05 2018 -0700 |
tree | 40b92d4315c34d8fd8bdd249e587a5f05c6dddc6 | |
parent | 96b3f16489e32f0214921b0ba740b4ac51534c11 [diff] [blame] |
Remove old database files before starting new SCPF tests Change-Id: I652ca1f28ffb0d345f329de9b4e609926c2e0e1c
diff --git a/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy b/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy index ef20820..c205778 100644 --- a/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy +++ b/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy
@@ -389,6 +389,10 @@ 'WikiPrefix=' + prop[ "WikiPrefix" ], 'WORKSPACE=' + workSpace ] ) { if ( !graphOnly ){ + if ( isSCPF ){ + // Remove the old database file + sh SCPFfunc.cleanupDatabaseFile( testName ) + } sh initAndRunTest( testName, testCategory ) // For the Wiki page sh cleanAndCopyFiles( pureTestName )