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