--- a/specs/stx-jv.rbspec Tue Aug 22 10:11:36 2017 +0100
+++ b/specs/stx-jv.rbspec Thu Oct 05 11:15:18 2017 +0100
@@ -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