Only publish on master

This commit is contained in:
Ell 2021-01-01 11:10:35 +01:00 committed by GitHub
parent 1fec29dc63
commit ca434b2324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
Jenkinsfile vendored
View file

@ -15,9 +15,11 @@ pipeline {
}
stage('Publish') {
when {
branch 'master'
}
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'
}
}