We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a63ffd8 commit 4aeef31Copy full SHA for 4aeef31
site/generate.sh
@@ -163,4 +163,11 @@ popd
163
# copy other static resource files
164
echo '{}' > "$WWW_ROOT_DIR/uctest.json"
165
wget -q --convert-links -O "$WWW_ROOT_DIR/index.html" --convert-links https://www.jenkins.io/templates/updates/index.html
166
+# replace relative paths in URLs and footer by absolute ones, and set the proper attributes for jio-components
167
+sed -i '' \
168
+ -e 's|href="/|href="https://www.jenkins.io/|g' \
169
+ -e 's|property="https://www.jenkins.io"|property="https://updates.jenkins.io"|g' \
170
+ -e 's|sourcepath=""|sourcepath="content/templates/updates.adoc"|' \
171
+ "$WWW_ROOT_DIR/index.html"
172
+
173
cp -av "tmp/tiers.json" "$WWW_ROOT_DIR/tiers.json"
0 commit comments