Moved common from jenkins folder to devops root folder

Change-Id: Ib56b840f5d91f5962daa5fd06d80eb1888617f9e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/jenkins/common/all_funcs b/common/all_funcs
similarity index 86%
rename from jenkins/common/all_funcs
rename to common/all_funcs
index a847108..d469373 100644
--- a/jenkins/common/all_funcs
+++ b/common/all_funcs
@@ -18,11 +18,11 @@
 #
 # 24 June 2016 -- Jeremy Mordkoff -- Genesis
 
-if [ -z "$OSM_JENKINS" ]; then
-	export OSM_JENKINS=$(realpath $(dirname ${BASH_SOURCE[0]} ))
+if [ -z "$OSM_DEVOPS" ]; then
+	export OSM_DEVOPS=$(realpath ${BASH_SOURCE[0]} )
 fi
 
 for file in logging config container git_functions; do
-	. ${OSM_JENKINS}/common/$file
+	. ${OSM_DEVOPS}/common/$file
 	INFO "$file sourced"
 done
diff --git a/jenkins/common/config b/common/config
similarity index 100%
rename from jenkins/common/config
rename to common/config
diff --git a/jenkins/common/container b/common/container
similarity index 100%
rename from jenkins/common/container
rename to common/container
diff --git a/jenkins/common/git_functions b/common/git_functions
similarity index 66%
rename from jenkins/common/git_functions
rename to common/git_functions
index e5b7984..7cfee88 100644
--- a/jenkins/common/git_functions
+++ b/common/git_functions
@@ -1,4 +1,17 @@
 #!/bin/bash
+#
+#   Licensed under the Apache License, Version 2.0 (the "License");
+#   you may not use this file except in compliance with the License.
+#   You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+#
 
 
 GIT() {
diff --git a/jenkins/common/install_common b/common/install_common
similarity index 100%
rename from jenkins/common/install_common
rename to common/install_common
diff --git a/jenkins/common/logging b/common/logging
similarity index 100%
rename from jenkins/common/logging
rename to common/logging
diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh
index 7b45761..776ab06 100755
--- a/installers/full_install_osm.sh
+++ b/installers/full_install_osm.sh
@@ -1415,8 +1415,7 @@
     fi
 fi
 
-OSM_JENKINS="$OSM_DEVOPS/jenkins"
-. $OSM_JENKINS/common/all_funcs
+. $OSM_DEVOPS/common/all_funcs
 
 [ -n "$INSTALL_LIGHTWEIGHT" ] && [ -n "$UNINSTALL" ] && uninstall_lightweight && echo -e "\nDONE" && exit 0
 [ -n "$UNINSTALL" ] && uninstall && echo -e "\nDONE" && exit 0
diff --git a/installers/nat_osm b/installers/nat_osm
index b7b7097..e12a123 100755
--- a/installers/nat_osm
+++ b/installers/nat_osm
@@ -36,8 +36,7 @@
 
 HERE=$(realpath $(dirname $0))
 OSM_DEVOPS=$(dirname $HERE)
-OSM_JENKINS="$OSM_DEVOPS/jenkins"
-. $OSM_JENKINS/common/all_funcs
+. $OSM_DEVOPS/common/all_funcs
 
 #Get default IP address
 . $OSM_DEVOPS/installers/export_ips