AriaOS/Jenkinsfile
zontreck 732259e6f9 refactor(jenkinsfile): fix syntax
Signed-off-by: zontreck <tarapiccari@gmail.com>
2024-10-05 22:36:00 -07:00

46 lines
No EOL
828 B
Groovy

pipeline {
agent any
options {
buildDiscarder(
logRotator(
numToKeepStr: '5'
)
)
}
stages {
stage("Clean Up") {
agent {
label 'arch'
}
steps {
script {
sh '''
#!/bin/bash
git clean -xfd
git reset --hard
'''
}
}
}
stage("Build ISO") {
agent {
label 'arch'
}
steps {
script {
sh '''
#!/bin/bash
mkarchiso -v -w work -o out server
'''
}
}
}
}
}