mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-26 06:28:35 +01:00
only publish on master
This commit is contained in:
parent
612df004e6
commit
bc18d4db15
1 changed files with 4 additions and 1 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -20,6 +20,9 @@ done'''
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh '''for i in **/*.nupkg; do
|
sh '''for i in **/*.nupkg; do
|
||||||
dotnet nuget push -s http://localhost:5000/v3/index.json $i -k $BAGET -n true
|
dotnet nuget push -s http://localhost:5000/v3/index.json $i -k $BAGET -n true
|
||||||
|
@ -31,4 +34,4 @@ done'''
|
||||||
environment {
|
environment {
|
||||||
BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676')
|
BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue