aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNuoHan Qiao <qiaonuohan@cn.fujitsu.com>2016-03-20 08:12:15 -0400
committerNuoHan Qiao <qiaonuohan@cn.fujitsu.com>2016-04-18 22:18:33 -0400
commit21a8c98da99226b7d1f4e4f095f0974aa57b127a (patch)
tree1eadee0ab3412c815934ac1d14449854e9fdcd96
parent83c0309b1986a08243c4176078711b42d05ddb7c (diff)
Remove jenkins UI customization of JTA
Change-Id: Ibd158331d61322c4a6ad88c9c6a5c6b3b1cbf652 Signed-off-by: NuoHan Qiao <qiaonuohan@cn.fujitsu.com>
-rwxr-xr-xfrontend-install/jenkins-updates/updates.sh39
1 files changed, 0 insertions, 39 deletions
diff --git a/frontend-install/jenkins-updates/updates.sh b/frontend-install/jenkins-updates/updates.sh
index 96ee0f5..25f6f34 100755
--- a/frontend-install/jenkins-updates/updates.sh
+++ b/frontend-install/jenkins-updates/updates.sh
@@ -9,56 +9,17 @@ fi
source ./constants.sh
-# output_errors_only
-echo "Jenkins cache is $JENKINS_CACHE"
-
fix_permissions ${JENKINS_INST}
fix_permissions ${JENKINS_CACHE}
-sync_fetch_jenkins_cli
-cd $LANG
-
-# main page and other configs
-cp *.xml $JENKINS_INST
fix_permissions $JENKINS_INST/*.xml
-# localize plugins
-for p in plugins/*; do
- cd $p;
- [ -f $JENKINS_INST/$p.jpi ] && jar uf $JENKINS_INST/$p.jpi ./*;
- [ -f $JENKINS_INST/$p.hpi ] && jar uf $JENKINS_INST/$p.hpi ./*;
- cd ../..;
-done
fix_permissions $JENKINS_INST/plugins
-# add resources
-cp -vr ./css $JENKINS_CACHE
-cp -vr ./images $JENKINS_CACHE
fix_permissions $JENKINS_CACHE/css
fix_permissions $JENKINS_CACHE/images
-# localize core classes
-pwd
-cd ./core
-jar xf $JENKINS_WAR_FILE $JENKINS_CORE_NAME
-jar uf $JENKINS_CORE_NAME hudson/*
-jar uf $JENKINS_CORE_NAME jenkins/*
-jar uf $JENKINS_CORE_NAME lib/*
-echo "copying $JENKINS_CORE_NAME -> $JENKINS_CACHE/$JENKINS_CORE_NAME"
-cp $JENKINS_CORE_NAME $JENKINS_CACHE/$JENKINS_CORE_NAME
fix_permissions $JENKINS_CACHE/$JENKINS_CORE_NAME
fix_permissions $JENKINS_CACHE
-rm $JENKINS_CORE_NAME
-
-# install UI plugins (CSS & locale)
-cd ../..
-
-service jenkins restart
-sync_fetch_jenkins_cli
-
-ls -1 plugins/*.hpi | xargs -n1 -t java -jar jenkins-cli.jar -s $JEN_URL install-plugin
-rm jenkins-cli.jar
-
-# default_output
true