Skip to content

Commit

Permalink
Once more into fixing the java jenkins build breach.
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed May 12, 2016
1 parent 99bfd99 commit e3c4d30
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ JAVA_RELEASE_TARGETS = [
'//java/client/src/org/openqa/selenium/remote:remote',
'//java/client/src/org/openqa/selenium/safari:safari',
'//java/server/src/com/thoughtworks/selenium:leg-rc',

# Until we mananage to migrate to Buck entirely.
'//java/server/src/org/openqa/grid/selenium:selenium:uber',
'//java/server/src/org/openqa/grid/selenium/selenium:zip',
'//java/client/src/org/openqa/selenium:client-combined-v3:zip',
]


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

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

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

0 comments on commit e3c4d30

Please sign in to comment.