Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge b51734f into 9bc0d44
Browse files Browse the repository at this point in the history
  • Loading branch information
tracetechnical committed Sep 24, 2019
2 parents 9bc0d44 + b51734f commit f43d68d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
jobs:
- job: test
container: maven:3.6.1-jdk-8
pool:
name: "UKHO Ubuntu 1804"
demands:
- agent.os -equals Linux
steps:
- task: DownloadSecureFile@1
inputs:
secureFile: settings.xml
- script: |
grep expires $DOWNLOADSECUREFILE_SECUREFILEPATH
mvn -s $DOWNLOADSECUREFILE_SECUREFILEPATH clean verify
- job: build
dependsOn: test
pool:
name: "UKHO Ubuntu 1804"
demands:
- agent.os -equals Linux
steps:
- task: Docker@2
displayName: Login to ACR
inputs:
command: login
containerRegistry: ukho-container-registry-connection
- task: DownloadSecureFile@1
inputs:
secureFile: settings.xml
- script: |
cp $DOWNLOADSECUREFILE_SECUREFILEPATH $(Build.SourcesDirectory)
- script: |
mvn -s $DOWNLOADSECUREFILE_SECUREFILEPATH clean deploy
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))

0 comments on commit f43d68d

Please sign in to comment.