https://github.com/owncloud/core
Raw File
Tip revision: 8f80be3b0d45c115112825f6341e43522630a112 authored by Daniel Molkentin on 18 August 2016, 11:01:56 UTC
ownCloud Server 8.0.15 RC1
Tip revision: 8f80be3
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