diff --git a/.test-infra/jenkins/job_PreCommit_Java_AWS2_IO_Direct.groovy b/.test-infra/jenkins/job_PreCommit_Java_AWS2_IO_Direct.groovy new file mode 100644 index 000000000000..2b734c227ec7 --- /dev/null +++ b/.test-infra/jenkins/job_PreCommit_Java_AWS2_IO_Direct.groovy @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import PrecommitJobBuilder + +PrecommitJobBuilder builder = new PrecommitJobBuilder( + scope: this, + nameBase: 'Java_Amazon-Web-Services2_IO_Direct', + gradleTask: 'sdks:java:io:amazon-web-services2:integrationTest', + gradleSwitches: [ + '-PdisableSpotlessCheck=true' + ], // spotless checked in separate pre-commit + triggerPathPatterns: [ + '^sdks/java/io/amazon-web-services2/.*$', + ], + timeoutMins: 120, + ) +builder.build { + publishers { + archiveJunit('**/build/test-results/**/*.xml') + } +} \ No newline at end of file diff --git a/.test-infra/jenkins/job_PreCommit_Java_AWS_IO_Direct.groovy b/.test-infra/jenkins/job_PreCommit_Java_AWS_IO_Direct.groovy new file mode 100644 index 000000000000..d7e68c70b0da --- /dev/null +++ b/.test-infra/jenkins/job_PreCommit_Java_AWS_IO_Direct.groovy @@ -0,0 +1,37 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import PrecommitJobBuilder + +PrecommitJobBuilder builder = new PrecommitJobBuilder( + scope: this, + nameBase: 'Java_Amazon-Web-Services_IO_Direct', + gradleTask: ':sdks:java:io:amazon-web-services:integrationTest', + gradleSwitches: [ + '-PdisableSpotlessCheck=true' + ], // spotless checked in separate pre-commit + triggerPathPatterns: [ + '^sdks/java/io/amazon-web-services/.*$', + ], + timeoutMins: 120, + ) +builder.build { + publishers { + archiveJunit('**/build/test-results/**/*.xml') + } +} \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index ae84bf5ce8dc..aa5f8949fa51 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -196,8 +196,6 @@ tasks.register("javaPreCommitPortabilityApi") { tasks.register("javaPostCommit") { dependsOn(":sdks:java:extensions:google-cloud-platform-core:postCommit") dependsOn(":sdks:java:extensions:zetasketch:postCommit") - dependsOn(":sdks:java:io:amazon-web-services:integrationTest") - dependsOn(":sdks:java:io:amazon-web-services2:integrationTest") dependsOn(":sdks:java:extensions:ml:postCommit") }