Rakefiles: allow to clone and build Smalltalk/X jv-branch 8.0.0 preview
...from Jan's personal repositories. Pre-built `stx:stc` and `stx:librun` are
downloaded from Jan's CI server.
This is a temporary hack that allows those blessed with access to build and
test 8.0.0 branch before released. Will be backed out once 8.0.0 is out.
--- a/specs/stx-jv.rbspec Wed Oct 04 19:44:02 2017 +0000
+++ b/specs/stx-jv.rbspec Wed Oct 04 19:47:30 2017 +0000
@@ -4,8 +4,18 @@
plat = nil
blob = nil
sha256 = nil
- build = Jenkins::Build.new(%Q{https://swing.fit.cvut.cz/jenkins/job/stx_jv/lastStableBuild})
- platform = BUILD_TARGET()
+
+ build_url = %Q{https://swing.fit.cvut.cz/jenkins/job/stx_jv/lastStableBuild}
+
+ origin_forest_url = HG::Repository.new(BUILD_DIR / '..').paths['default'].slice(0.. - 'stx-goodies-builder-rake'.size - 2) #/
+ # Temporary hack to build Smalltalk/X using stc and librun from Jan's
+ # 8.0.0 test builds
+ if (origin_forest_url =~ /192.168.27.250/) then
+ build_url = %Q{http://192.168.27.253:8080/job/stx_jv_features/job/stx-8.0.0/lastStableBuild/}
+ end
+
+ build = Jenkins::Build.new(build_url)
+ platform = BUILD_TARGET
build.artifacts.each do | artifact |
if (pattern =~ artifact.name) and (artifact.name.include? platform) then
if artifact.name.end_with? '.sha256' then