-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sharding IO tests(amazon web services and amazon web services 2) from…
… java post commit task (#21808) * Create job for preComimt AWS IO Direct from Java PostCommit job * Create preCommit Job for AWS2 IO Direct from Java PostCommit job * Delete AWS and AWS2 gradle task from main Java PostCommit job
- Loading branch information
1 parent
eb5b7cc
commit 85e8149
Showing
3 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
.test-infra/jenkins/job_PreCommit_Java_AWS2_IO_Direct.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
.test-infra/jenkins/job_PreCommit_Java_AWS_IO_Direct.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters