diff --git a/domismp-tests/domismp-docker/images/domismp-weblogic122/build.sh b/domismp-tests/domismp-docker/images/domismp-weblogic122/build.sh
index 75f779be930499a6124c97ff6d40f7da60b2fb60..4b017064737a53d62a647ba5ccdf1f81a49ffdba 100755
--- a/domismp-tests/domismp-docker/images/domismp-weblogic122/build.sh
+++ b/domismp-tests/domismp-docker/images/domismp-weblogic122/build.sh
@@ -4,13 +4,6 @@
 # first it copies external resources to resources folder
 # then it builds the image using docker-compose.build.yml
 # and finally it cleans the external resources
-WORKING_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
-cd "${WORKING_DIR}"
-
-source "${WORKING_DIR}/../../functions/common.functions"
-initializeCommonVariables
-exportBuildArtefactNames
-
 : "${SMP_PROJECT_FOLDER:?Need to set SMP project folder non-empty!}"
 : "${SMP_VERSION:?Need to set SMP version non-empty!}"
 : "${SMP_ARTEFACTS:?Need to set SMP_ARTEFACTS non-empty!}"
diff --git a/domismp-tests/domismp-docker/images/domismp-weblogic141/build.sh b/domismp-tests/domismp-docker/images/domismp-weblogic141/build.sh
index 29f4adcf24f7420337cb5f4ed6c4452c18ce16cf..dfbdaa74fbfb2eba267280b85196a9ce4a82117d 100755
--- a/domismp-tests/domismp-docker/images/domismp-weblogic141/build.sh
+++ b/domismp-tests/domismp-docker/images/domismp-weblogic141/build.sh
@@ -4,13 +4,6 @@
 # first it copies external resources to resources folder
 # then it builds the image using docker-compose.build.yml
 # and finally it cleans the external resources
-WORKING_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
-cd "${WORKING_DIR}"
-
-source "${WORKING_DIR}/../../functions/common.functions"
-initializeCommonVariables
-exportBuildArtefactNames
-
 : "${SMP_PROJECT_FOLDER:?Need to set SMP project folder non-empty!}"
 : "${SMP_VERSION:?Need to set SMP version non-empty!}"
 : "${SMP_ARTEFACTS:?Need to set SMP_ARTEFACTS non-empty!}"