AriaOS/Jenkinsfile
zontreck b89ccd7458 ci(jenkins): fix build command
Signed-off-by: zontreck <tarapiccari@gmail.com>
2024-10-06 02:35:27 -07:00

46 lines
No EOL
846 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 "$(pwd)/work" -o out "$(pwd)/server"
'''
}
}
}
}
}