Skip to content

Instantly share code, notes, and snippets.

@avtar
Forked from jobara/test2.yml
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avtar/11383749 to your computer and use it in GitHub Desktop.
Save avtar/11383749 to your computer and use it in GitHub Desktop.
- job:
name: 'first-discovery'
project-type: 'freestyle'
display-name: 'First Discovery Preferences Editor Tool'
scm:
- git:
url: https://github.com/fluid-project/first-discovery.git
branches:
- master
triggers:
- github
publishers:
- email:
recipients: builds@lists.idrc.ocad.ca
- ssh:
site: 'build.fluidproject.org'
source: '**'
target: 'first-discovery'
fail-on-error: true
use-pty: true
timeout: 180000
- job:
name: 'fluid-build'
project-type: 'freestyle'
display-name: 'Fluid Project build website'
scm:
- git:
url: https://github.com/fluid-project/build.fluidproject.org.git
branches:
- master
triggers:
- github
publishers:
- email:
recipients: builds@lists.idrc.ocad.ca
- ssh:
site: 'build.fluidproject.org'
source: '**'
target: 'fluid-build'
fail-on-error: true
use-pty: true
timeout: 180000
- job:
name: 'fluid-infusion'
project-type: 'freestyle'
display-name: 'Fluid Infusion'
scm:
- git:
url: https://github.com/fluid-project/infusion.git
branches:
- master
triggers:
- github
builders:
- shell: |
#!/bin/sh -ex
npm install
grunt
publishers:
- email:
recipients: builds@lists.idrc.ocad.ca
- ssh:
site: 'build.fluidproject.org'
source: 'products/infusion-all-*.zip'
# The 'products' prefix gets removed on the remote server
remove-prefix: 'products'
target: 'fluid-infusion'
# Deleting the 'infusion' directory using shell commands because the 'clean-remote' option
# was causing builds to fail http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.ssh
command: 'cd ~/fluid-infusion; rm -rf ./infusion; unzip -oq infusion-all-*.zip; rm -f infusion-all-*.zip'
fail-on-error: true
use-pty: true
timeout: 180000
jenkins-jobs --conf jenkins_jobs.ini update ./jenkins-jobs
[job_builder]
ignore_cache=True
recursive=False
allow_duplicates=False
[jenkins]
user=<user name>
password=<API key>
url=http://localhost:8080
- job:
name: 'prefsEditors'
project-type: 'freestyle'
display-name: 'Preferences Editors'
scm:
- git:
url: https://github.com/fluid-project/prefsEditors.git
branches:
- master
triggers:
- github
publishers:
- email:
recipients: builds@lists.idrc.ocad.ca
- ssh:
site: 'build.fluidproject.org'
source: '**'
target: 'prefs-editors'
fail-on-error: true
use-pty: true
timeout: 180000
- job:
name: 'videoPlayer'
project-type: 'freestyle'
display-name: 'HTML5 Video Player'
scm:
- git:
url: https://github.com/fluid-project/videoPlayer.git
branches:
- master
triggers:
- github
publishers:
- email:
recipients: builds@lists.idrc.ocad.ca
- ssh:
site: 'build.fluidproject.org'
source: '**'
target: 'video-player'
fail-on-error: true
use-pty: true
timeout: 180000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment