33 lines
No EOL
632 B
Groovy
33 lines
No EOL
632 B
Groovy
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()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |