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%\"" + } + } } }