-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
54 lines (47 loc) · 998 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
pipeline {
agent {
docker {
image 'mcr.microsoft.com/dotnet/core/sdk:3.1'
}
}
stages {
stage('Build EF') {
steps {
sh 'dotnet build MyAirport.EF -c Release'
}
}
stage('Build EF Clients') {
parallel {
stage('Build WebApi') {
steps {
sh 'dotnet build MyAirport.WebApi -c Release'
}
}
stage('Build GraphQLWebApi') {
steps {
sh 'dotnet build MyAirport.GraphQLWebApi -c Release'
}
}
stage('Build ConsoleApp') {
steps {
sh 'dotnet build MyAirport.ConsoleApp -c Release'
}
}
stage('Build RazorApplication') {
steps {
sh 'dotnet build MyAirport.Razor -c Release'
}
}
}
}
stage('Test WebApi') {
steps {
sleep 1
}
}
}
environment {
HOME = '/tmp'
DOTNET_CLI_TELEMETRY_OPTOUT = '1'
}
}