https://github.com/owncloud/core
Raw File
Tip revision: 46a6aa5f578fd5808cf8acad1b45ec07b310b61f authored by Vincent Petry on 08 November 2016, 10:24:24 UTC
Set version to 8.0.16
Tip revision: 46a6aa5
Jenkinsfile
#!groovy

node('SLAVE') {
    stage 'Checkout'
        checkout scm
        sh '''git submodule update --init'''

    stage 'JavaScript Testing'
        sh '''./autotest-js.sh'''
        step([$class: 'JUnitResultArchiver', testResults: 'tests/autotest-results-js.xml'])

    stage 'PHPUnit'
        sh '''
        export NOCOVERAGE=1
        unset USEDOCKER
        phpenv local 5.6
        ./autotest.sh sqlite
        phpenv local 5.4
        ./autotest.sh mysql
        phpenv local 5.6
        ./autotest.sh pgsql
        phpenv local 5.5
        ./autotest.sh oci
        '''
        step([$class: 'JUnitResultArchiver', testResults: 'tests/autotest-results-sqlite.xml'])
        step([$class: 'JUnitResultArchiver', testResults: 'tests/autotest-results-mysql.xml'])
        step([$class: 'JUnitResultArchiver', testResults: 'tests/autotest-results-oci.xml'])
        step([$class: 'JUnitResultArchiver', testResults: 'tests/autotest-results-pgsql.xml'])

    stage 'Files External Testing'
        sh '''
        phpenv local 5.6
        export NOCOVERAGE=1
        unset USEDOCKER
        ./autotest-external.sh sqlite webdav-ownCloud
        '''
        step([$class: 'JUnitResultArchiver', testResults: 'tests/autotest-external-results-sqlite-webdav-ownCloud.xml'])

}

back to top