From 38fe2c98fdb72040af88df5880379f98169bfe17 Mon Sep 17 00:00:00 2001 From: zontreck Date: Mon, 23 Dec 2024 11:37:53 -0700 Subject: [PATCH] Add a jenkins CI file --- Jenkinsfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..8fd9684 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,35 @@ +pipeline { + agent any + options { + buildDiscarder ( + logRotator ( + numToKeepStr: '5' + ) + ) + } + + stages { + stage ("Build") { + agent { + label 'linux' + } + + steps { + sh ''' + #!/bin/bash + + git submodule update --init --recursive + chmod +x build.sh + ./build.sh + ''' + } + + post { + always { + archiveArtifacts artifacts: "Releases/*.zip" + cleanWs() + } + } + } + } +} \ No newline at end of file