Add steps to Jenkinsfile
This commit is contained in:
parent
8573fcc10e
commit
543eb3449f
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -1,18 +1,24 @@
|
||||
pipeline {
|
||||
stages {
|
||||
stage('Restore') {
|
||||
steps {
|
||||
dir('Serwer') {
|
||||
bat "dotnet restore"
|
||||
bat "dotnet restore"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Clean') {
|
||||
dir('Serwer') {
|
||||
bat "dotnet clean"
|
||||
steps {
|
||||
dir('Serwer') {
|
||||
bat "dotnet clean"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
dir('Serwer') {
|
||||
bat "dotnet build --configuration Relase"
|
||||
steps {
|
||||
dir('Serwer') {
|
||||
bat "dotnet build --configuration Relase"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user