FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Split AZP config into jobs rather than steps (#1613) · runningcode/testcontainers-java@60b91b0 · GitHub

Commit 60b91b0

Browse files
authored
Split AZP config into jobs rather than steps (testcontainers#1613)
* Split AZP config into jobs rather than steps * fix the modules task
1 parent 041d508 commit 60b91b0

1 file changed

Lines changed: 34 additions & 19 deletions

File tree

‎azure-pipelines.yml‎

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,36 @@
1-
steps:
2-
- task: Gradle@2
3-
displayName: Build core
4-
inputs:
5-
gradleWrapperFile: 'gradlew'
6-
jdkVersionOption: '1.11'
7-
options: '--no-daemon --continue'
8-
tasks: 'testcontainers:check'
9-
publishJUnitResults: true
10-
testResultsFiles: '**/TEST-*.xml'
11-
- task: Gradle@2
12-
displayName: Build modules
13-
inputs:
14-
gradleWrapperFile: 'gradlew'
15-
jdkVersionOption: '1.11'
16-
options: '--no-daemon --continue -x testcontainers:check'
17-
tasks: 'check'
18-
publishJUnitResults: true
19-
testResultsFiles: '**/TEST-*.xml'
1+
jobs:
2+
- job: core
3+
steps:
4+
- task: Gradle@2
5+
displayName: Build & test
6+
inputs:
7+
gradleWrapperFile: 'gradlew'
8+
jdkVersionOption: '1.11'
9+
options: '--no-daemon --continue'
10+
tasks: 'testcontainers:check'
11+
publishJUnitResults: true
12+
testResultsFiles: '**/TEST-*.xml'
13+
- job: jdbc
14+
steps:
15+
- task: Gradle@2
16+
displayName: Build & test
17+
inputs:
18+
gradleWrapperFile: 'gradlew'
19+
jdkVersionOption: '1.11'
20+
options: '--no-daemon --continue'
21+
tasks: 'jdbc-test:check'
22+
publishJUnitResults: true
23+
testResultsFiles: '**/TEST-*.xml'
24+
- job: modules
25+
steps:
26+
- task: Gradle@2
27+
displayName: Build & test
28+
inputs:
29+
gradleWrapperFile: 'gradlew'
30+
jdkVersionOption: '1.11'
31+
options: '--continue -x testcontainers:check -x jdbc-test:check'
32+
tasks: 'check'
33+
publishJUnitResults: true
34+
testResultsFiles: '**/TEST-*.xml'
2035

2136

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL