diff options
author | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-08-12 13:27:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-12 13:27:04 +0200 |
commit | 0e69a70c94208061872cebf5cb5b80b4f6649a27 (patch) | |
tree | 4442715ee3b9cbe89aaaf84f427ed0a7813c3cc7 | |
parent | eeded3195f68e9edb325f0bc85862ff3cb62722b (diff) | |
download | nextcloud-server-0e69a70c94208061872cebf5cb5b80b4f6649a27.tar.gz nextcloud-server-0e69a70c94208061872cebf5cb5b80b4f6649a27.zip |
[stable8] Test jenkins pipeline (#25401) (#25505)
* [stable8] Test jenkins pipeline (#25401)
* stable8 does not support php 7.0 and there are no primary object store tests on swift
-rw-r--r-- | Jenkinsfile | 40 | ||||
-rw-r--r-- | tests/karma.config.js | 4 |
2 files changed, 43 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000000..ef726bc376f --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,40 @@ +#!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']) + +} + diff --git a/tests/karma.config.js b/tests/karma.config.js index e4f8b3ea68f..5a6499f536b 100644 --- a/tests/karma.config.js +++ b/tests/karma.config.js @@ -210,7 +210,9 @@ module.exports = function(config) { reporters: ['dots', 'junit', 'coverage'], junitReporter: { - outputFile: 'tests/autotest-results-js.xml' + outputDir: 'tests', + outputFile: 'autotest-results-js.xml', + useBrowserName: false }, // web server port |