Update Jenkinsfile

This commit is contained in:
Ellpeck 2020-04-10 03:58:05 +02:00 committed by GitHub
parent 754e662b54
commit e6942941e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
Jenkinsfile vendored
View file

@ -15,6 +15,9 @@ pipeline {
} }
stage('Publish') { stage('Publish') {
when {
branch 'master'
}
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 true
''' '''
@ -25,4 +28,4 @@ pipeline {
environment { environment {
BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676') BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676')
} }
} }