pipelineJob('00-regression-tests') {
    concurrentBuild(true)
    throttleConcurrentBuilds {
        maxTotal 8
    }

    parameters {
        stringParam('OPENZFSCI_REPOSITORY', System.getenv('OPENZFSCI_REPOSITORY'))
        stringParam('OPENZFSCI_BRANCH', System.getenv('OPENZFSCI_BRANCH'))
        stringParam('OPENZFSCI_DIRECTORY', 'openzfs-ci')

        stringParam('OPENZFS_REPOSITORY', 'openzfs/openzfs')
        stringParam('OPENZFS_DIRECTORY', 'openzfs')

        stringParam('OPENZFS_COMMIT')
        stringParam('OPENZFS_COMMIT_BASE')
        stringParam('OPENZFS_PULL_NUMBER')

        choiceParam('COMMIT_STATUS_ENABLED', ['yes', 'no'])
    }

    environmentVariables {
        env('DCENTER_HOST', 'dcenter')
        env('DCENTER_IMAGE', 'omnios-r151018')
        env('DCENTER_EXPIRATION', '7')
    }

    definition {
        cps {
            script(readFileFromWorkspace('jenkins/jobs/pipelines/step_regression_tests.groovy'))
        }
    }
}

// vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab textwidth=112 colorcolumn=120

pipelineJob('00-regression-tests') {
    concurrentBuild(true)
    throttleConcurrentBuilds {
        maxTotal 8
    }

    parameters {
        stringParam('OPENZFSCI_REPOSITORY', System.getenv('OPENZFSCI_REPOSITORY'))
        stringParam('OPENZFSCI_BRANCH', System.getenv('OPENZFSCI_BRANCH'))
        stringParam('OPENZFSCI_DIRECTORY', 'openzfs-ci')

        stringParam('OPENZFS_REPOSITORY', 'openzfs/openzfs')
        stringParam('OPENZFS_DIRECTORY', 'openzfs')

        stringParam('OPENZFS_COMMIT')
        stringParam('OPENZFS_COMMIT_BASE')
        stringParam('OPENZFS_PULL_NUMBER')

        choiceParam('COMMIT_STATUS_ENABLED', ['yes', 'no'])
    }

    environmentVariables {
        env('DCENTER_HOST', 'dcenter')
        env('DCENTER_IMAGE', 'omnios-r151018')
        env('DCENTER_EXPIRATION', '1')
    }

    definition {
        cps {
            script(readFileFromWorkspace('jenkins/jobs/pipelines/step_regression_tests.groovy'))
        }
    }
}

// vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab textwidth=112 colorcolumn=120

Expire DCenter VMs after 1 day instead of 7
Expire DCenter VMs after 1 day instead of 7

To help alleviate storage capacity issues on DCenter, the expiration for
VMs was decreased from 7 days, to a single day. Since we're uploading
zloop and zfstest results to Joyents Manta, the VMs are of limited
benefit after the tests complete.
