Skip to content

Commit e3c4d30

Browse files
committed
Once more into fixing the java jenkins build breach.
1 parent 99bfd99 commit e3c4d30

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

Rakefile

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,6 @@ JAVA_RELEASE_TARGETS = [
116116
'//java/client/src/org/openqa/selenium/remote:remote',
117117
'//java/client/src/org/openqa/selenium/safari:safari',
118118
'//java/server/src/com/thoughtworks/selenium:leg-rc',
119-
120-
# Until we mananage to migrate to Buck entirely.
121-
'//java/server/src/org/openqa/grid/selenium:selenium:uber',
122-
'//java/server/src/org/openqa/grid/selenium/selenium:zip',
123-
'//java/client/src/org/openqa/selenium:client-combined-v3:zip',
124119
]
125120

126121

@@ -536,10 +531,19 @@ end
536531
# cp "build/java/client/src/org/openqa/selenium/client-combined-v3.zip", "build/dist/selenium-java-#{version}.zip"
537532
#end
538533

539-
task :release => JAVA_RELEASE_TARGETS do |t|
534+
task :release => JAVA_RELEASE_TARGETS + [
535+
# Until we mananage to migrate to Buck entirely.
536+
'//java/server/src/org/openqa/grid/selenium:selenium:uber',
537+
'//java/server/src/org/openqa/grid/selenium:selenium:zip',
538+
'//java/client/src/org/openqa/selenium:client-combined-v3:zip',
539+
] do |t|
540540
puts t.prerequisites.join(', ')
541541

542542
t.prerequisites.each do |p|
543+
# Nasty hack to work around buck publish not knowing how to build crazy fun targets
544+
if p.to_s.count(':') > 1
545+
next
546+
end
543547
# Buck::buck_cmd.call('publish', "--dry-run --to-maven-central #{p}")
544548
Buck::buck_cmd.call('build', "#{p}")
545549
end

0 commit comments

Comments
 (0)