029b604f16
Change-Id: I6a2efe9599594dd40217800b551cf4678063c023 Reviewed-on: https://review.openstack.org/11502 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Yun Mao <yunmao@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
142 lines
3.0 KiB
YAML
142 lines
3.0 KiB
YAML
- builder:
|
|
name: gerrit-git-prep
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh review.openstack.org"
|
|
|
|
- builder:
|
|
name: coverage
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/run-cover.sh"
|
|
|
|
- builder:
|
|
name: docs
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/run-docs.sh"
|
|
|
|
- builder:
|
|
name: maven-test
|
|
builders:
|
|
- shell: "mvn test"
|
|
|
|
- builder:
|
|
name: maven-package
|
|
builders:
|
|
- shell: "mvn package"
|
|
|
|
- builder:
|
|
name: gerrit-package
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/package-gerrit.sh"
|
|
|
|
- builder:
|
|
name: gerrit-preclean
|
|
builders:
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
rm -fr ~/.m2
|
|
rm -fr ~/.java
|
|
./tools/version.sh --release
|
|
|
|
- builder:
|
|
name: gerrit-postrun
|
|
builders:
|
|
- shell: "./tools/version.sh --reset"
|
|
|
|
- builder:
|
|
name: pep8
|
|
builders:
|
|
- shell: "set -o pipefail ; tox -v -epep8 | tee pep8.txt ; set +o pipefail"
|
|
|
|
- builder:
|
|
name: pylint
|
|
builders:
|
|
- shell: "set -o pipefail ; tox -v -epylint | tee pylint.txt ; set +o pipefail"
|
|
|
|
- builder:
|
|
name: pyflakes
|
|
builders:
|
|
- shell: "tox -v -epyflakes"
|
|
|
|
- builder:
|
|
name: puppet-syntax
|
|
builders:
|
|
- shell: |
|
|
find . -iname *.pp | xargs puppet parser validate --modulepath=`pwd`/modules
|
|
for f in `find . -iname *.erb` ; do
|
|
erb -x -T '-' $f | ruby -c
|
|
done
|
|
|
|
- builder:
|
|
name: selenium
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/run-selenium.sh"
|
|
|
|
- builder:
|
|
name: python26
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 26"
|
|
- something:
|
|
arg: value
|
|
|
|
- builder:
|
|
name: python27
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 27"
|
|
|
|
- builder:
|
|
name: python26-essex
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 26-essex"
|
|
|
|
- builder:
|
|
name: python27-essex
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 27-essex"
|
|
|
|
- builder:
|
|
name: tarball
|
|
builders:
|
|
- shell: "/usr/local/jenkins/slave_scripts/create-tarball.sh {project}"
|
|
|
|
# ======================================================================
|
|
|
|
- publisher:
|
|
name: tarball
|
|
publishers:
|
|
- archive:
|
|
artifacts: 'dist/*.tar.gz'
|
|
- scp:
|
|
site: '{site}'
|
|
source: 'dist/*.tar.gz'
|
|
target: 'tarballs/{project}/'
|
|
|
|
- publisher:
|
|
name: war
|
|
publishers:
|
|
- archive:
|
|
artifacts: '{warfile}'
|
|
- scp:
|
|
site: '{site}'
|
|
source: '{warfile}'
|
|
target: '{target}'
|
|
|
|
- publisher:
|
|
name: pep8
|
|
publishers:
|
|
- violations:
|
|
pep8:
|
|
min: 0
|
|
max: 1
|
|
unstable: 1
|
|
pattern: '**/pep8.txt'
|
|
|
|
- publisher:
|
|
name: pylint
|
|
publishers:
|
|
- violations:
|
|
pylint:
|
|
min: 0
|
|
max: 1
|
|
unstable: 1
|
|
pattern: '**/pylint.txt'
|