This commit is contained in:
Ell 2022-10-31 13:02:30 +01:00
parent 9e57c0250a
commit 3a65960309

4
Jenkinsfile vendored
View file

@ -9,7 +9,7 @@ pipeline {
stage('Pack') { stage('Pack') {
steps { steps {
sh 'find . -type f -name \\\'*.nupkg\\\' -delete' sh 'find . -type f -name "*.nupkg" -delete'
sh 'dotnet pack --version-suffix ${BUILD_NUMBER}' sh 'dotnet pack --version-suffix ${BUILD_NUMBER}'
} }
} }
@ -19,7 +19,7 @@ pipeline {
branch 'main' branch 'main'
} }
steps { steps {
sh 'dotnet nuget push -s http://localhost:5000/v3/index.json **/*.nupkg -k $BAGET -n true' sh 'dotnet nuget push -s http://localhost:5000/v3/index.json **/*.nupkg -k $BAGET -n'
} }
} }
} }