Skip to content

Commit 4dd00d9

Browse files
authored
Merge pull request #16 from HoeflingSoftware/azure-pipelines
Azure Pipelines: Configured CI using Template
2 parents 0650a16 + 770cec8 commit 4dd00d9

1 file changed

Lines changed: 32 additions & 14 deletions

File tree

azure-pipelines.yml

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,37 @@
1-
# Starter pipeline
2-
# Start with a minimal pipeline that you can customize to build and deploy your code.
3-
# Add steps that build, run tests, deploy, and more:
4-
# https://aka.ms/yaml
1+
# The DNN Community Modules Build .yml.
2+
# Add steps to the build, run tests, deploy and more:
3+
# https://aka.ms/yml
4+
#
5+
# NOTE: Whitespace is super important with yml, please respect
6+
# the necessary whitespace for different jobs/tasks/etc
57

8+
resources:
9+
repositories:
10+
# References the DNN Community Modules Build DevOps repository which contains
11+
# yml files that will make running the build simple. It is not required to use
12+
# the repository but it will make configuring the build easier
13+
- repository: DevOps
14+
type: git
15+
ref: 'refs/heads/master'
16+
name: "DevOps.Templates"
17+
18+
19+
# Build triggers tell Azure DevOps when to run the build.
20+
# PR builds are implied unless explicitly defined
621
trigger:
7-
- master
22+
branches:
23+
include:
24+
- master # The CI build will execute with every commit to the master branch of PR merge
825

9-
pool:
10-
vmImage: 'Ubuntu-16.04'
26+
jobs:
27+
- template: azure-pipelines.yml@DevOps # The entry point template from the DevOps repository
1128

12-
steps:
13-
- script: echo Hello, world!
14-
displayName: 'Run a one-line script'
29+
# there are optional parameters you can send to the build. If
30+
# you would like to use the option parameters just uncomment
31+
# 'parameters:' and then the parameters you would like to use
1532

16-
- script: |
17-
echo Add other tasks to build, test, and deploy your project.
18-
echo See https://aka.ms/yaml
19-
displayName: 'Run a multi-line script'
33+
#parameters:
34+
#version: "5.0.1.$[counter('versioncounter', 0)]" # Sets the current build version that includes a revision counter. Default: '1.0.0.0'
35+
#configuration: 'Release' # The build configuration. Default: 'Release'
36+
#platform: 'Any CPU' # The build platform. Default: 'Any CPU'
37+
#solution: '**/*.sln' # The path to the solution file. Default: '**/*.sln'

0 commit comments

Comments
 (0)