Skip to content

Commit

Permalink
Attempt to get the java build on Jenkins working
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed May 12, 2016
1 parent 1bccade commit 99bfd99
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ 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 @@ -538,6 +543,11 @@ task :release => JAVA_RELEASE_TARGETS do |t|
# Buck::buck_cmd.call('publish', "--dry-run --to-maven-central #{p}")
Buck::buck_cmd.call('build', "#{p}")
end

mkdir_p "build/dist"
cp "build/java/server/src/org/openqa/grid/selenium/selenium-standalone.jar", "build/dist/selenium-server-standalone-#{version}.jar"
cp "build/java/server/src/org/openqa/grid/selenium/selenium.zip", "build/dist/selenium-server-#{version}.zip"
cp "build/java/client/src/org/openqa/selenium/client-combined-v3.zip", "build/dist/selenium-java-#{version}.zip"
end

task :push_release => [:release] do
Expand Down

0 comments on commit 99bfd99

Please sign in to comment.