This commit is contained in:
Ell 2023-05-22 15:40:42 +02:00
parent 86d2735faa
commit d7282c256b

5
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 **/GameBundle.csproj --version-suffix ${BUILD_NUMBER}' sh 'dotnet pack **/GameBundle.csproj --version-suffix ${BUILD_NUMBER}'
} }
} }
@ -19,8 +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'
'''
} }
} }