Skip to content

Commit

Permalink
Initial gradeline pipeline for azure #3370
Browse files Browse the repository at this point in the history
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
  • Loading branch information
planetf1 committed Jul 29, 2020
1 parent 7997aab commit 7a1ce3b
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .azure-pipelines/gradle/merge-gradle.yml
@@ -0,0 +1,28 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.
---

# Gradle
# Build your Java project and run tests with Gradle using a Gradle wrapper script.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java

trigger:
- gradletest

pool:
vmImage: 'ubuntu-latest'

steps:
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: 'build'

34 changes: 34 additions & 0 deletions .azure-pipelines/gradle/verify-gradle.yml
@@ -0,0 +1,34 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.
---

# Gradle
# Build your Java project and run tests with Gradle using a Gradle wrapper script.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java

trigger: none

pr:
autoCancel: true
branches:
include:
- master
- egeria-release-*
- egeria-feature-*

pool:
vmImage: 'ubuntu-latest'

steps:
- task: Gradle@2
inputs:
workingDirectory: ''
gradleWrapperFile: 'gradlew'
gradleOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.11'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
tasks: 'build'
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -161,5 +161,6 @@ jitdump*dmp
THIRD_PARTY*.txt

# gradle
!gradle/**
.gradle/
build/
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.

0 comments on commit 7a1ce3b

Please sign in to comment.