mirror of
https://github.com/Ellpeck/GameBundle.git
synced 2024-12-26 05:19:22 +01:00
get rid of old jenkinsfile
This commit is contained in:
parent
6c9b179752
commit
87646e8051
1 changed files with 0 additions and 30 deletions
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
|
@ -1,30 +0,0 @@
|
|||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'dotnet build **/GameBundle.csproj'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Pack') {
|
||||
steps {
|
||||
sh 'find . -type f -name "*.nupkg" -delete'
|
||||
sh 'dotnet pack **/GameBundle.csproj --version-suffix ${BUILD_NUMBER}'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Publish') {
|
||||
when {
|
||||
branch 'main'
|
||||
}
|
||||
steps {
|
||||
sh 'dotnet nuget push -s http://localhost:5000/v3/index.json **/*.nupkg -k $BAGET -n'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
environment {
|
||||
BAGET = credentials('3db850d0-e6b5-43d5-b607-d180f4eab676')
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue