File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ WWW_ROOT_DIR=" ${WWW_ROOT_DIR:- ${1:- ./ www2} } "
4+ SELF_URL=" ${SELF_URL:- ${2:- https:// updates.jenkins.io} } "
5+
6+ wget -q --convert-links -O " $WWW_ROOT_DIR /index.html" --convert-links https://www.jenkins.io/templates/updates/index.html
7+ sed -i -e " s|<jio-navbar.*/jio-navbar>|<jio-navbar class='fixed-top' id='ji-toolbar' property='${SELF_URL} '></jio-navbar>|g" " $WWW_ROOT_DIR /index.html"
8+ sed -i -e " s|<jio-footer.*/jio-footer>|<jio-footer property='${SELF_URL} '></jio-footer>|g" " $WWW_ROOT_DIR /index.html"
Original file line number Diff line number Diff line change 165165
166166# copy other static resource files
167167echo ' {}' > " $WWW_ROOT_DIR /uctest.json"
168- wget -q --convert-links -O " $WWW_ROOT_DIR /index.html " --convert-links https://www .jenkins.io/templates/updates/index.html
168+ " ${MAIN_DIR} /site/generate-jenkins-io-template.sh " " $WWW_ROOT_DIR " " https://updates .jenkins.io"
169169cp -av " tmp/tiers.json" " $WWW_ROOT_DIR /tiers.json"
You can’t perform that action at this time.
0 commit comments