Skip to content

Commit

Permalink
Split AZP config into jobs rather than steps (#1613)
Browse files Browse the repository at this point in the history
* Split AZP config into jobs rather than steps

* fix the modules task
  • Loading branch information
bsideup authored Jul 16, 2019
1 parent 041d508 commit 60b91b0
Showing 1 changed file with 34 additions and 19 deletions.
53 changes: 34 additions & 19 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
steps:
- task: Gradle@2
displayName: Build core
inputs:
gradleWrapperFile: 'gradlew'
jdkVersionOption: '1.11'
options: '--no-daemon --continue'
tasks: 'testcontainers:check'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
- task: Gradle@2
displayName: Build modules
inputs:
gradleWrapperFile: 'gradlew'
jdkVersionOption: '1.11'
options: '--no-daemon --continue -x testcontainers:check'
tasks: 'check'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
jobs:
- job: core
steps:
- task: Gradle@2
displayName: Build & test
inputs:
gradleWrapperFile: 'gradlew'
jdkVersionOption: '1.11'
options: '--no-daemon --continue'
tasks: 'testcontainers:check'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
- job: jdbc
steps:
- task: Gradle@2
displayName: Build & test
inputs:
gradleWrapperFile: 'gradlew'
jdkVersionOption: '1.11'
options: '--no-daemon --continue'
tasks: 'jdbc-test:check'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
- job: modules
steps:
- task: Gradle@2
displayName: Build & test
inputs:
gradleWrapperFile: 'gradlew'
jdkVersionOption: '1.11'
options: '--continue -x testcontainers:check -x jdbc-test:check'
tasks: 'check'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'


0 comments on commit 60b91b0

Please sign in to comment.