Publish frontend tests
This commit is contained in:
@@ -84,6 +84,7 @@ pipeline {
|
|||||||
mkdir -p "$NPM_CONFIG_CACHE"
|
mkdir -p "$NPM_CONFIG_CACHE"
|
||||||
npm install --no-progress --no-audit --prefer-offline
|
npm install --no-progress --no-audit --prefer-offline
|
||||||
npm run check
|
npm run check
|
||||||
|
mkdir -p test-results
|
||||||
npm test
|
npm test
|
||||||
npm run build
|
npm run build
|
||||||
'''
|
'''
|
||||||
@@ -98,6 +99,7 @@ post {
|
|||||||
script {
|
script {
|
||||||
node {
|
node {
|
||||||
junit testResults: 'backend/pytest.xml', allowEmptyResults: true
|
junit testResults: 'backend/pytest.xml', allowEmptyResults: true
|
||||||
|
junit testResults: 'frontend/test-results/junit.xml', allowEmptyResults: true
|
||||||
|
|
||||||
if (env.CHANGE_ID) {
|
if (env.CHANGE_ID) {
|
||||||
def giteaBase = 'https://openbokeron.org'
|
def giteaBase = 'https://openbokeron.org'
|
||||||
|
|||||||
Reference in New Issue
Block a user