2020-12-03 13:24:47 +01:00
|
|
|
pipeline {
|
2020-12-03 16:06:23 +01:00
|
|
|
agent any
|
|
|
|
|
2020-12-03 13:24:47 +01:00
|
|
|
stages {
|
|
|
|
stage('Restore') {
|
2020-12-03 16:04:37 +01:00
|
|
|
steps {
|
2020-12-03 13:24:47 +01:00
|
|
|
dir('Serwer') {
|
2020-12-03 16:04:37 +01:00
|
|
|
bat "dotnet restore"
|
2020-12-03 13:24:47 +01:00
|
|
|
}
|
2020-12-03 16:04:37 +01:00
|
|
|
}
|
2020-12-03 13:24:47 +01:00
|
|
|
}
|
|
|
|
stage('Clean') {
|
2020-12-03 16:04:37 +01:00
|
|
|
steps {
|
|
|
|
dir('Serwer') {
|
|
|
|
bat "dotnet clean"
|
|
|
|
}
|
2020-12-03 13:24:47 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build') {
|
2020-12-03 16:04:37 +01:00
|
|
|
steps {
|
|
|
|
dir('Serwer') {
|
|
|
|
bat "dotnet build --configuration Relase"
|
|
|
|
}
|
2020-12-03 13:24:47 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|