27 lines
332 B
Groovy
27 lines
332 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Restore') {
|
|
steps {
|
|
dir('Serwer') {
|
|
bat "dotnet restore"
|
|
}
|
|
}
|
|
}
|
|
stage('Clean') {
|
|
steps {
|
|
dir('Serwer') {
|
|
bat "dotnet clean"
|
|
}
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
dir('Serwer') {
|
|
bat "dotnet build --configuration Relase"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |