1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-08 15:51:35 +02:00

only publish on master

This commit is contained in:
Ellpeck 2020-03-05 00:41:29 +01:00 committed by GitHub
parent 612df004e6
commit bc18d4db15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
Jenkinsfile vendored
View file

@ -20,6 +20,9 @@ done'''
}
stage('Publish') {
when {
branch 'master'
}
steps {
sh '''for i in **/*.nupkg; do
dotnet nuget push -s http://localhost:5000/v3/index.json $i -k $BAGET -n true
@ -31,4 +34,4 @@ done'''
environment {
BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676')
}
}
}