- - builder:
- name: bootstrap-container
- builders:
- - shell: |
- env > $WORKSPACE/vars
- export DOCKER_HOST=127.0.0.1:4243
- docker run \
- --rm=true \
- --name=$BUILD_TAG \
- --env-file=$WORKSPACE/vars \
- -e "SSH_AUTH_SOCK=/tmp/ssh_sock/$(basename $SSH_AUTH_SOCK)" \
- -e "JOB_NAME={job_name}" \
- -u jenkins \
- -v "$WORKSPACE:$WORKSPACE:rw" \
- -v "$(dirname $SSH_AUTH_SOCK):/tmp/ssh_sock" \
- -w $WORKSPACE \
- 127.0.0.1:5000/slave/{distro} \
- $WORKSPACE/bootstrap --conf-dir={dir}
- - job-template:
- name: 'Merge-{proj}-Ply'
- description: >
- Merge changes from upstream using ply
- <br><br>
- This job is managed by jenkins-job-builder. Changes made through
- the web interface will be lost!
- node: 'big-slave'
- parameters:
- - bool:
- name: 'pull_disabled'
- default: false
- description: "If true, upstream will not be pulled"
- - bool:
- name: 'tests_disabled'
- default: false
- description: "If true, tests will not be executed"
- scm:
- - git:
- url: 'repo.git'
- name: ''
- refspec: ''
- wipe-workspace: false
- clean: true
- branches:
- - 'master'
- builders:
- - bootstrap-container:
- dir: {dir}
- job_name: 'Merge-{proj}-Ply'
- distro: 'debian6'
- wrappers:
- - ssh-agent-credentials:
- user: 'xxxxxx'
- - timestamps
- - inject-passwords:
- global: True
- - project:
- name: Merge-project-Ply
- proj:
- - 'neutron'
- jobs:
- - 'Merge-{proj}-Ply':
- dir: 'etc/neutron'