summaryrefslogtreecommitdiff
path: root/tsp/scripts
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2016-11-16 13:24:02 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-01-16 10:07:49 (GMT)
commite8293e96289d4296fa2bafe08464614cf2096a6b (patch)
tree604a9b96b1b2f0a8735a0af0cb49f98bfb0b8c83 /tsp/scripts
parent26d90eddf8bf489e6366516bb07222f70c966bb7 (diff)
downloadmajor-e8293e96289d4296fa2bafe08464614cf2096a6b.zip
major-e8293e96289d4296fa2bafe08464614cf2096a6b.tar.gz
major-e8293e96289d4296fa2bafe08464614cf2096a6b.tar.bz2
Remove obsolete tl-pwb mentionrefs/changes/36/108736/3
Change-Id: Ied2057e664c665dc97aecd4cfc4727ef51725ec0
Diffstat (limited to 'tsp/scripts')
-rwxr-xr-xtsp/scripts/publish.sh60
1 files changed, 0 insertions, 60 deletions
diff --git a/tsp/scripts/publish.sh b/tsp/scripts/publish.sh
deleted file mode 100755
index ffe18b6..0000000
--- a/tsp/scripts/publish.sh
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-
-# Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-#
-# 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.
-
-# Author: Pawel Wieczorek <p.wieczorek2@samsung.com>
-
-PAGE_START='###START###'
-PAGE_END='####END####'
-TITLE_TAG="'''"
-OUTPUT='dict.txt'
-
-WORKSPACE="/home/jenkins/pub"
-cd "$WORKSPACE"
-
-### Project list
-FULL_PROJECT="$(head -1 project.conf)"
-PROJECT="${FULL_PROJECT##*_}"
-PAGE="Image test results"
-
-{
- echo "${PAGE_START}"
- echo "${TITLE_TAG}${PAGE}${TITLE_TAG}"
- echo '[['"${PROJECT}"']]'
- echo ""
- echo "${PAGE_END}"
-} > "${OUTPUT}"
-
-python3 /srv/pwb/pwb.py get "${PAGE}" | grep "\[\[${PROJECT}\]\]" \
-|| python3 /srv/pwb/pwb.py pagefromfile -start:"${PAGE_START}" -end:"${PAGE_END}" -appendtop \
--notitle -file:"${WORKSPACE}/${OUTPUT}"
-
-### Detailed project page
-PAGE="${PROJECT}"
-
-{
- echo "${PAGE_START}"
- echo "${TITLE_TAG}${PAGE}${TITLE_TAG}"
-} > "${OUTPUT}"
-
-tail -2 project.conf >> "${OUTPUT}" || echo "No project"
-awk '{print " "$0}' sysctl.result >> "${OUTPUT}" || echo "No sysctl"
-awk '{print " "$0}' diff.report >> "${OUTPUT}" || echo "No diff"
-
-echo "" >> "${OUTPUT}"
-echo "${PAGE_END}" >> "${OUTPUT}"
-
-python3 /srv/pwb/pwb.py pagefromfile -start:"${PAGE_START}" -end:"${PAGE_END}" -appendtop \
--notitle -file:"${WORKSPACE}/${OUTPUT}"