mirror of
https://github.com/truenas/core-build.git
synced 2026-02-14 23:28:44 +00:00
41 lines
764 B
Groovy
41 lines
764 B
Groovy
pipeline {
|
|
agent none
|
|
|
|
environment {
|
|
GH_ORG = 'freenas'
|
|
GH_REPO = 'build'
|
|
}
|
|
stages {
|
|
|
|
stage('Queued') {
|
|
agent {
|
|
label 'JenkinsMaster'
|
|
}
|
|
steps {
|
|
echo "Build queued"
|
|
}
|
|
}
|
|
|
|
stage('ixbuild') {
|
|
agent {
|
|
label 'FreeNAS-ISO'
|
|
}
|
|
post {
|
|
success {
|
|
archiveArtifacts artifacts: 'artifacts/**', fingerprint: true
|
|
junit 'results/**'
|
|
}
|
|
failure {
|
|
echo 'Saving failed artifacts...'
|
|
archiveArtifacts artifacts: 'artifacts/**', fingerprint: true
|
|
}
|
|
}
|
|
steps {
|
|
checkout scm
|
|
echo 'Starting iXBuild Framework pipeline'
|
|
sh '/ixbuild/jenkins.sh freenas freenas-pipeline'
|
|
}
|
|
}
|
|
}
|
|
}
|