Skip to content

Commit

Permalink
Merge pull request #176 from daniel-beck/restrict-2.96
Browse files Browse the repository at this point in the history
[JENKINS-48604] Attempt to blacklist 2.96
  • Loading branch information
daniel-beck committed Dec 18, 2017
2 parents df8538b + bfcd215 commit 5e93cb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/generate.sh
Expand Up @@ -61,12 +61,12 @@ echo "# Version-specific rulesets generated by generate.sh" > ${HTACCESS}
for ltsv in ${RELEASES[@]}; do
v="${ltsv/%.1/}"
# for mainline up to $v, which advertises the latest core
generate -no-experimental -skip-release-history -www ./www2/$v -cap $v.999 -capCore 2.999
generate -no-experimental -skip-release-history -www ./www2/$v -cap $v.999 -capCore 2.95
sanity-check ./www2/$v
ln -sf ../updates ./www2/$v/updates

# for LTS
generate -no-experimental -skip-release-history -www ./www2/stable-$v -cap $v.999 -capCore 2.999 -stableCore
generate -no-experimental -skip-release-history -www ./www2/stable-$v -cap $v.999 -capCore 2.95 -stableCore
sanity-check ./www2/stable-$v
ln -sf ../updates ./www2/stable-$v/updates
lastLTS=$v
Expand Down Expand Up @@ -99,13 +99,13 @@ EOF
# with symlinks pointing to the 'latest' current versions. So we generate exprimental first, then overwrite current to produce proper symlinks

# experimental update center. this is not a part of the version-based redirection rules
generate -skip-release-history -www ./www2/experimental -download ./download
generate -skip-release-history -www ./www2/experimental -download ./download -capCore 2.95
ln -sf ../updates ./www2/experimental/updates

# for the latest without any cap
# also use this to generae https://updates.jenkins-ci.org/download layout, since this generator run
# will capture every plugin and every core
generate -no-experimental -www ./www2/current -www-download ./www2/download -download ./download -pluginCount.txt ./www2/pluginCount.txt
generate -no-experimental -www ./www2/current -www-download ./www2/download -download ./download -capCore 2.95 -pluginCount.txt ./www2/pluginCount.txt
ln -sf ../updates ./www2/current/updates

# generate symlinks to retain compatibility with past layout and make Apache index useful
Expand Down

0 comments on commit 5e93cb3

Please sign in to comment.