#!/bin/sh
echo $PATH

export PATH=$(echo $PATH | sed 's/8/7/g')
echo $PATH

export JAVA_HOME=$(echo $JAVA_HOME | sed 's/8/7/g')
echo $JAVA_HOME
mvn -s settings.xml clean install -Dsolutions.codechecking.phase=verify
#!/bin/sh
echo $PATH
if [ -r ./env.sh ]; then
  . ./env.sh
  echo 'env.sh found'
fi
export PATH=$(echo $PATH | sed 's/8/7/g')
echo $PATH
mvn -s settings.xml clean install -Dsolutions.codechecking.phase=verify
--- 
+++ 
@@ -1,9 +1,9 @@
 #!/bin/sh
 echo $PATH
-if [ -r ./env.sh ]; then
-  . ./env.sh
-  echo 'env.sh found'
-fi
+
 export PATH=$(echo $PATH | sed 's/8/7/g')
 echo $PATH
+
+export JAVA_HOME=$(echo $JAVA_HOME | sed 's/8/7/g')
+echo $JAVA_HOME
 mvn -s settings.xml clean install -Dsolutions.codechecking.phase=verify
QAFE-1235: Fix to avoid passowrd shown to user - Added Jenkins file
