Till Wegmüller
2023-10-22 4a2f97fac0cb03465ff213e35b6dd01e7a93dd61
Update Jenkins CI job to build all previously failed builds and cleanup space eating boot environments

Signed-off-by: Till Wegmüller <toasterson@gmail.com>
1 files modified
9 ■■■■ changed files
ci/user-build.groovy 9 ●●●● patch | view | raw | blame | history
ci/user-build.groovy
@@ -1,4 +1,7 @@
import jenkins.model.Jenkins
@Library("BuildLib") _
pipeline {
    agent {
        node {
@@ -30,7 +33,10 @@
        stage('Gmake Publish') {
            steps {
                withPublisher('openindiana.org', 'incremental') {
                    sh './tools/jenkinshelper-main.ksh -s build_changed'
                    script {
                        def last_commit = Jenkins.instance.getItem('OpenIndiana/Userland').lastSuccessfulBuild.changeset[0].revision
                    }
                    sh './tools/jenkinshelper-main.ksh -s build_changed $last_commit'
                }
            }
        }
@@ -42,6 +48,7 @@
        stage('update system') {
            steps {
                update()
                sh /opt/local/bin/cleanup_bootenvs.sh'
            }
        }
    }