Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions site/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,11 @@ popd
# copy other static resource files
echo '{}' > "$WWW_ROOT_DIR/uctest.json"
wget -q --convert-links -O "$WWW_ROOT_DIR/index.html" --convert-links https://www.jenkins.io/templates/updates/index.html
# replace relative paths in URLs and footer by absolute ones, and set the proper attributes for jio-components
sed -i '' \
-e 's|href="/|href="https://www.jenkins.io/|g' \
-e 's|property="https://www.jenkins.io"|property="https://updates.jenkins.io"|g' \
-e 's|sourcepath=""|sourcepath="content/templates/updates.adoc"|' \
"$WWW_ROOT_DIR/index.html"

cp -av "tmp/tiers.json" "$WWW_ROOT_DIR/tiers.json"