equal
deleted
inserted
replaced
4 plat = nil |
4 plat = nil |
5 blob = nil |
5 blob = nil |
6 sha256 = nil |
6 sha256 = nil |
7 pattern = /prebuilt-#{Regexp.quote(component)}/ |
7 pattern = /prebuilt-#{Regexp.quote(component)}/ |
8 |
8 |
9 build_url = %Q{https://swing.fit.cvut.cz/jenkins/job/stx_jv/lastStableBuild} |
9 artifact_repo = ArtifactRepository::PlainHTTPListing.new('https://swing.fit.cvut.cz/download/smalltalkx/devel/') |
10 |
10 |
11 origin_forest_url = HG::Repository.new(BUILD_DIR / '..').paths['default'].slice(0.. - 'stx-goodies-builder-rake'.size - 2) #/ |
11 origin_forest_url = HG::Repository.new(BUILD_DIR / '..').paths['default'].slice(0.. - 'stx-goodies-builder-rake'.size - 2) #/ |
12 # When building using Jan's staging repositories, use pre-built stc and librun |
12 # When building using Jan's staging repositories, use pre-built stc and librun |
13 # from there too. |
13 # from there too. |
14 if (origin_forest_url =~ /192.168.27.250/) then |
14 if (origin_forest_url =~ /192.168.27.250/) then |
15 build_url = %Q{http://192.168.27.253:8080/job/stx_jv/lastStableBuild/} |
15 artifact_repo = ArtifactRepository::Jenkins.new('http://192.168.27.253:8080/job/stx_jv') |
16 end |
16 end |
17 |
17 |
18 build = Jenkins::Build.new(build_url) |
18 build = artifact_repo.latestBuild() |
19 platform = BUILD_TARGET |
19 platform = BUILD_TARGET |
20 build.artifacts.each do | artifact | |
20 build.artifacts.each do | artifact | |
21 if (pattern =~ artifact.name) and (artifact.name.include? platform) then |
21 if (pattern =~ artifact.name) and (artifact.name.include? platform) then |
22 if artifact.name.end_with? '.sha256' then |
22 if artifact.name.end_with? '.sha256' then |
23 sha256 = artifact |
23 sha256 = artifact |
173 package "stx:goodies/petitparser/analyzer", :link => false |
173 package "stx:goodies/petitparser/analyzer", :link => false |
174 package "stx:goodies/petitparser/analyzer/tests", :link => false |
174 package "stx:goodies/petitparser/analyzer/tests", :link => false |
175 |
175 |
176 # Monticello |
176 # Monticello |
177 package "stx:libcompat", :repository => :'exept:public' |
177 package "stx:libcompat", :repository => :'exept:public' |
|
178 package "stx:goodies/webServer", :repository => :'exept:public', :link => false |
178 package "stx:goodies/communication", :repository => :'exept:public' |
179 package "stx:goodies/communication", :repository => :'exept:public' |
179 |
180 |
180 # Java support |
181 # Java support |
181 package "stx:libjava", :repository => :'jv-branch:public' |
182 package "stx:libjava", :repository => :'jv-branch:public' |
182 package "stx:libjava/tools" |
183 package "stx:libjava/tools" |