Till Wegmueller
2023-07-15 002047ef4e51c330e189ec808f1cb9e14dbd10e3
Move CI configuration into own sub folder

Signed-off-by: Till Wegmueller <toasterson@gmail.com>
1 files added
34 ■■■■■ changed files
ci/master-build.groovy 34 ●●●●● patch | view | raw | blame | history
ci/master-build.groovy
New file
@@ -0,0 +1,34 @@
@Library("BuildLib") _
pipeline {
    agent {
        node {
            label 'userland'
        }
    }
    stages {
        stage('Git Checkout') {
            steps {
                withSharedWs() {
                    git branch: 'oi/hipster', url: 'https://github.com/OpenIndiana/oi-userland.git'
                }
            }
        }
        stage('Gmake Setup') {
            steps {
                sh 'rm -f components/components.mk'
                sh 'rm -f components/depends.mk'
                withPublisher('openindiana.org', 'full') {
                    sh 'gmake setup'
                }
            }
        }
        stage('Gmake Publish') {
            steps {
                withPublisher('openindiana.org', 'full') {
                    sh 'gmake publish -k'
                }
            }
        }
    }
}