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