microsoft/gctoolkit

Public

mirrored fromhttps://github.com/microsoft/gctoolkitAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
e22688560c1eb1b7b3ede206548949117df9a0d8

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.devops/weekly-build.yml

39lines · modecode

1trigger: none
2
3schedules:
4 - cron: 0 0 * * 0
5 displayName: "Weekly build"
6 branches:
7 include: [ main ]
8 always: true
9
10variables:
11 JAVA_HOME_11_X64: /usr/lib/jvm/msopenjdk-11
12
13pool:
14 name: JEG-mariner2.0-x64-release
15
16steps:
17 - task: JavaToolInstaller@0
18 inputs:
19 versionSpec: '11'
20 jdkArchitectureOption: 'x64'
21 jdkSourceOption: 'PreInstalled'
22 env:
23 JAVA_HOME_11_X64: $(JAVA_HOME_11_X64)
24 displayName: 'Set Java to v11'
25
26 - checkout: self
27 clean: true
28
29 - task: Maven@4
30 inputs:
31 mavenPomFile: 'pom.xml'
32 goals: 'clean package'
33 options: '-B -Prelease'
34 mavenOptions: '-s $(Build.SourcesDirectory)/.devops/feed-settings.xml'
35 mavenAuthenticateFeed: true
36 jdkVersionOption: '1.11'
37 jdkArchitectureOption: 'x64'
38 displayName: 'Build with Maven'