Skip to content

Commit 99bfd99

Browse files
committed
Attempt to get the java build on Jenkins working
1 parent 1bccade commit 99bfd99

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Rakefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ 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',
119124
]
120125

121126

@@ -538,6 +543,11 @@ task :release => JAVA_RELEASE_TARGETS do |t|
538543
# Buck::buck_cmd.call('publish', "--dry-run --to-maven-central #{p}")
539544
Buck::buck_cmd.call('build', "#{p}")
540545
end
546+
547+
mkdir_p "build/dist"
548+
cp "build/java/server/src/org/openqa/grid/selenium/selenium-standalone.jar", "build/dist/selenium-server-standalone-#{version}.jar"
549+
cp "build/java/server/src/org/openqa/grid/selenium/selenium.zip", "build/dist/selenium-server-#{version}.zip"
550+
cp "build/java/client/src/org/openqa/selenium/client-combined-v3.zip", "build/dist/selenium-java-#{version}.zip"
541551
end
542552

543553
task :push_release => [:release] do

0 commit comments

Comments
 (0)