Add dotnet
This commit is contained in:
parent
500fee0b91
commit
6afc0e44fe
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -2,24 +2,28 @@ pipeline {
|
|||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
stage('Install') {
|
||||||
|
steps {
|
||||||
|
sh "./dotnet-install.sh"
|
||||||
|
}
|
||||||
stage('Restore') {
|
stage('Restore') {
|
||||||
steps {
|
steps {
|
||||||
dir('Serwer') {
|
dir('Serwer') {
|
||||||
sh "dotnet restore"
|
sh "~/.dotnet/dotnet restore"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Clean') {
|
stage('Clean') {
|
||||||
steps {
|
steps {
|
||||||
dir('Serwer') {
|
dir('Serwer') {
|
||||||
sh "dotnet clean"
|
sh "~/.dotnet/dotnet clean"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
dir('Serwer') {
|
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