From eb170f8c346366fcc870d16a68183d7bd27d534d Mon Sep 17 00:00:00 2001 From: Russ Treadwell Date: Sat, 5 Dec 2020 21:41:22 -0500 Subject: [PATCH] update jenkinsfile and add Packaged to gitignore --- .gitignore | 1 + Jenkinsfile | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 6582eaf..3de7fcc 100644 --- a/.gitignore +++ b/.gitignore @@ -72,3 +72,4 @@ Plugins/*/Intermediate/* # Cache files for the editor to use DerivedDataCache/* +Packaged diff --git a/Jenkinsfile b/Jenkinsfile index b9a5733..ee406bb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,14 +6,21 @@ pipeline { node { label 'Windows' } - } stages { stage('Build') { steps { - bat 'C:\\build-scripts\\SteamBridge-build.bat' + bat "py C:\\jenkins.py SteamBridge Build \"%WORKSPACE%\"" } } + stage('Publish') { + when { + branch "main" + } + steps { + bat "py C:\\jenkins.py SteamBridge Publish \"%WORKSPACE%\"" + } + } } }