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