From 87646e80519fbbac991261ca1ef936e7ad1f5fc4 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 31 Aug 2024 13:19:49 +0200 Subject: [PATCH] get rid of old jenkinsfile --- Jenkinsfile | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 0ba3dc0..0000000 --- a/Jenkinsfile +++ /dev/null @@ -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') - } -}