git clean up after policy csit 04/9404/1
authorandrew-est <andrew.fenner@est.tech>
Fri, 25 Jun 2021 16:36:59 +0000 (17:36 +0100)
committerandrew-est <andrew.fenner@est.tech>
Fri, 25 Jun 2021 16:37:26 +0000 (17:37 +0100)
Change-Id: Iba1a9ed72ee15f5a6264267af924a7906c0850bd
Signed-off-by: andrew-est <andrew.fenner@est.tech>
jjb/onap/policy-docker-csit-jobs.sh

index 5d1c80ca5fd7d6951fd918db774a5fe064adc820..82fb3e10e509441715b604668920e56cf1ecdd3b 100644 (file)
@@ -28,7 +28,12 @@ unset WORKSPACE
 sed -i 's#./include-raw-integration-install-robotframework.sh#$SCRIPTS/include-raw-integration-install-robotframework.sh#g' prepare-csit.sh
 sed -i 's#pylibs.txt#$SCRIPTS/pylibs.txt#g' include-raw-integration-install-robotframework.sh
 
+git config --global user.email "infra@nordix.org"
+git config --global user.name "nordix"
+
 for csit_test in  $(echo "$CSIT_TEST_NAMES" | tr " " "\n")
 do
   ./run-project-csit.sh "$csit_test"
+  # remove any side effects of the runs
+  git stash
 done