-
Notifications
You must be signed in to change notification settings - Fork 1
/
Jenkinsfile
46 lines (44 loc) · 1019 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
pipeline
{
agent {label 'Windows_Node2'}
stages
{
stage('Build Frost Web App')
{
steps
{
sh 'dotnet publish -c Debug -r linux-arm;'
}
}
stage('Zip Frost Web App')
{
steps
{
dir("bin/Debug/netcoreapp3.1/linux-arm/")
{
bat label: '', script: 'ubuntu.exe run zip -r frost_web_app.zip publish'
}
}
}
stage('Archive')
{
steps
{
dir("bin/Debug/netcoreapp3.1/linux-arm/")
{
archiveArtifacts artifacts: 'frost_web_app.zip', fingerprint: true
}
}
}
stage('Cleanup Workspace')
{
steps
{
cleanWs()
dir("${env.WORKSPACE}@tmp") {
deleteDir()
}
}
}
}
}