project-config/jenkins/jobs/storyboard.yaml
Dong Ma cc6c8b6f73 nodejs-install macro can install different versions of node
This patch modifies the nodejs-install macro to install based on the
{version} parameter. All current uses of nodejs-install have been set to use
version '4'.

Change-Id: I73a0c5b801137d8700b16acb8375eaabfb668d5f
2016-07-20 06:54:06 -07:00

47 lines
1.2 KiB
YAML

- job:
name: gate-storyboard-js-integration
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- gerrit-git-prep
- install-distro-packages
- nodejs-install:
version: 4
- xvfb-install
- chrome-install
- shell: |
#!/bin/bash -xe
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git git://git.openstack.org openstack-infra/storyboard openstack-infra/storyboard-webclient
export CREATE_USER=1
export DB_ADMIN_USER=root
export STORYBOARD_PATH=openstack-infra/storyboard
./openstack-infra/storyboard/tools/install_test_backend.sh
- js-build:
command: 'test:integration'
envlist: 'grunt_no_api'
project: 'storyboard-webclient'
- assert-no-extra-files
- shell: |
#!/bin/bash -xe
./openstack-infra/storyboard/tools/destroy_test_backend.sh
publishers:
- coverage-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'reports/**'
keep-hierarchy: true
copy-after-failure: true
- console-log