Skip to content
Snippets Groups Projects
Commit 022bc014 authored by Xiao Gui's avatar Xiao Gui
Browse files

[skip ci] update jenkinsfile

parent cccd421c
No related branches found
No related tags found
No related merge requests found
......@@ -13,47 +13,46 @@ pipeline {
}
stages {
stage('cd into deploy') {
steps{
dir('deploy')
}
}
stage('Build') {
steps {
echo 'Building..'
sh 'npm install'
dir('deploy') {
echo 'Building..'
sh 'npm install'
}
}
}
stage('Test available datasets') {
parallel {
stage('rat - v1.01') {
steps {
sh 'npm run mocha-env -- ./api-test/**/rat.v1_01.spec.js --timeout 60000'
dir('deploy') {
parallel {
stage('rat - v1.01') {
steps {
sh 'npm run mocha-env -- ./api-test/**/rat.v1_01.spec.js --timeout 60000'
}
}
}
stage('rat - v2') {
steps {
sh 'npm run mocha-env -- ./api-test/**/rat.v2.spec.js --timeout 60000'
stage('rat - v2') {
steps {
sh 'npm run mocha-env -- ./api-test/**/rat.v2.spec.js --timeout 60000'
}
}
}
stage('rat - v3') {
steps {
sh 'npm run mocha-env -- ./api-test/**/rat.v3.spec.js --timeout 60000'
stage('rat - v3') {
steps {
sh 'npm run mocha-env -- ./api-test/**/rat.v3.spec.js --timeout 60000'
}
}
}
stage('mouse - 2015') {
steps {
sh 'npm run mocha-env -- ./api-test/**/mouse.2015.spec.js --timeout 60000'
stage('mouse - 2015') {
steps {
sh 'npm run mocha-env -- ./api-test/**/mouse.2015.spec.js --timeout 60000'
}
}
}
stage('mouse - 2017') {
steps {
sh 'npm run mocha-env -- ./api-test/**/mouse.2017.spec.js --timeout 60000'
stage('mouse - 2017') {
steps {
sh 'npm run mocha-env -- ./api-test/**/mouse.2017.spec.js --timeout 60000'
}
}
}
stage('human') {
steps {
sh 'echo NYI'
stage('human') {
steps {
sh 'echo NYI'
}
}
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment