Add steps to Jenkinsfile

This commit is contained in:
s426226 2020-12-03 16:04:37 +01:00
parent 8573fcc10e
commit 543eb3449f

16
Jenkinsfile vendored
View File

@ -1,18 +1,24 @@
pipeline {
stages {
stage('Restore') {
steps {
dir('Serwer') {
bat "dotnet restore"
bat "dotnet restore"
}
}
}
stage('Clean') {
dir('Serwer') {
bat "dotnet clean"
steps {
dir('Serwer') {
bat "dotnet clean"
}
}
}
stage('Build') {
dir('Serwer') {
bat "dotnet build --configuration Relase"
steps {
dir('Serwer') {
bat "dotnet build --configuration Relase"
}
}
}
}