ci(jenkins): add jenkinsfile

Signed-off-by: zontreck <tarapiccari@gmail.com>
This commit is contained in:
zontreck 2024-10-05 22:31:58 -07:00
parent 6856542e66
commit 5ca46c536a

42
Jenkinsfile vendored Normal file
View file

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