Skip to content

Instantly share code, notes, and snippets.

@avtar
Last active August 29, 2015 14:19
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/4b5924dc37da4b932459 to your computer and use it in GitHub Desktop.
Save avtar/4b5924dc37da4b932459 to your computer and use it in GitHub Desktop.
Example Jenkins Job Builder configuration for AsTeRICS P4AllBuildingBlocks
- job:
name: 'asterics-P4AllBuildingBlocks'
project-type: 'freestyle'
display-name: 'AsTeRICS components for the Prosperity For All project'
scm:
- git:
url: https://github.com/asterics/P4AllBuildingBlocks.git
branches:
- master
triggers:
- github
# Alternatively the SCM can be polled using cron syntax if direct access to Github servers
# can't be provided, the following example would poll every 15 minutes
# - pollscm: "*/15 * * * *"
builders:
# Some other options include:
# Powershell http://ci.openstack.org/jenkins-job-builder/builders.html#builders.powershell
# Shell https://gist.github.com/avtar/11383749#file-fluid-infusion-yml-L13-L16
- batch: CameraInputModules/FacetrackerLK/start_facetrackerLK.bat
reporters:
# Email notifications on build failures
- email:
recipients: nonexistentaddress@asterics.eu
publishers:
- s3:
s3-profile: asterics
entries:
- destination-bucket: asterics-p4allbuildingblocks
source-files: '**'
storage-class: STANDARD
bucket-region: EU_WEST_1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment