specs/stx-jv.rbspec
branchstx-8.0.0
changeset 189 5b2320f1f2e2
parent 177 6ad33f64e566
child 190 fcf5ed063bb3
--- 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