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-03-24 04:49:47 -0400
commitdf72fd7d0fef5d6adacfe8853d95a6d1eac9bb1d (patch)
tree09b652986f6c35ac3539dfdb5f77e61157ade8f5
parent83120e97cd08ea0f6ba457569b46b86355d63c4d (diff)
Remove jenkins UI customization in 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