Add steps to Jenkinsfile

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

6
Jenkinsfile vendored
View File

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