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 { pipeline {
stages { stages {
stage('Restore') { stage('Restore') {
steps {
dir('Serwer') { dir('Serwer') {
bat "dotnet restore" bat "dotnet restore"
} }
}
} }
stage('Clean') { stage('Clean') {
dir('Serwer') { steps {
bat "dotnet clean" dir('Serwer') {
bat "dotnet clean"
}
} }
} }
stage('Build') { stage('Build') {
dir('Serwer') { steps {
bat "dotnet build --configuration Relase" dir('Serwer') {
bat "dotnet build --configuration Relase"
}
} }
} }
} }