Add Jenkins prefix url parameter

Change-Id: I512c7503c81f86b85652e6b352af5c56d21e3d3d
Related-prod: #PROD-27737 (PROD:27737)
diff --git a/jenkins.sh b/jenkins.sh
index a6ee8a9..fccaf66 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -5,8 +5,9 @@
 echo "--- Copying files at $(date)" >> "$COPY_REFERENCE_FILE_LOG"
 find /usr/share/jenkins/ref/ -type f -exec bash -c '. /usr/local/bin/jenkins-support; for arg; do copy_reference_file "$arg"; done' _ {} +
 
-export JENKINSTHEME_CSS_URL=${JENKINSTHEME_CSS_URL:-/userContent/theme/mirantis.min.css}
-export JENKINSTHEME_JS_URL=${JENKINSTHEME_JS_URL:-/userContent/theme/mirantis.min.js}
+export JENKINS_URL_PREFIX=${JENKINS_URL_PREFIX:-""}
+export JENKINSTHEME_CSS_URL=${JENKINSTHEME_CSS_URL:-$JENKINS_URL_PREFIX/userContent/theme/mirantis.min.css}
+export JENKINSTHEME_JS_URL=${JENKINSTHEME_JS_URL:-$JENKINS_URL_PREFIX/userContent/theme/mirantis.min.js}
 [ -f $JENKINS_HOME/org.codefirst.SimpleThemeDecorator.xml ] || cat /opt/org.codefirst.SimpleThemeDecorator.xml | envsubst > $JENKINS_HOME/org.codefirst.SimpleThemeDecorator.xml
 
 cat << EOF >>/usr/share/jenkins/ref/init.groovy.d/executors.groovy