Add dotnet

This commit is contained in:
s426226 2020-12-03 17:47:39 +01:00
parent 500fee0b91
commit 6afc0e44fe
2 changed files with 1115 additions and 3 deletions

10
Jenkinsfile vendored
View File

@ -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

File diff suppressed because it is too large Load Diff