POS_Sprint_1 #2
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -2,24 +2,28 @@ pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Install') {
|
||||
steps {
|
||||
sh "./dotnet-install.sh"
|
||||
}
|
||||
stage('Restore') {
|
||||
steps {
|
||||
dir('Serwer') {
|
||||
sh "dotnet restore"
|
||||
sh "~/.dotnet/dotnet restore"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Clean') {
|
||||
steps {
|
||||
dir('Serwer') {
|
||||
sh "dotnet clean"
|
||||
sh "~/.dotnet/dotnet clean"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
dir('Serwer') {
|
||||
sh "dotnet build --configuration Relase"
|
||||
sh "~/.dotnet/dotnet build --configuration Relase"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
1108
dotnet-install.sh
vendored
Normal file
1108
dotnet-install.sh
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user