python/pytest-salt-factories: update to 1.0.4
[oi-userland.git] / ci / illumos-gate-build.groovy
blob3a9a910ec8b297c88d9250e5ff9fb547aa4b741e
1 @Library("BuildLib") _
2 pipeline {
3 agent {
4 node {
5 label 'illumos-gate'
8 stages {
9 stage('Ensure is ready to build') {
10 steps {
11 sh 'pfexec /usr/sbin/mountall -F nfs || exit 0'
14 stage('Git Checkout') {
15 steps {
16 withSharedWs() {
17 git branch: 'oi/hipster', url: 'https://github.com/OpenIndiana/oi-userland.git'
21 stage('Gmake Setup') {
22 steps {
23 sh 'rm -f components/components.mk'
24 sh 'rm -f components/depends.mk'
25 withPublisher('openindiana.org', 'incremental') {
26 sh 'gmake setup'
30 stage('build illumos-gate') {
31 steps {
32 withPublisher('openindiana.org', 'incremental') {
33 dir('components/openindiana/illumos-gate') {
34 sh 'gmake publish'
39 stage('update system') {
40 steps {
41 update()