From 0966d6b6de15eefc9d40fb738905e501073219d8 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sat, 23 Nov 2024 01:46:20 -0700 Subject: [PATCH] Add a jenkinsfile --- Jenkinsfile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..b8b56b6 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,33 @@ +pipeline { + agent any + + options { + buildDiscarder(logRotator(numToKeepStr: "5")) + } + + stages { + stage ("Build on Linux") { + agent { + label "linux" + } + + steps { + script { + sh ''' + #!/bin/bash + + chmod +x build.sh + ./build.sh + ''' + } + } + + post { + always { + archiveArtifacts artifacts: "out/awsparser" + cleanWs() + } + } + } + } +} \ No newline at end of file