Skip to content

Instantly share code, notes, and snippets.

@loa
Last active August 29, 2015 14:21
Show Gist options
  • Save loa/a4191cff26ad6a35e319 to your computer and use it in GitHub Desktop.
Save loa/a4191cff26ad6a35e319 to your computer and use it in GitHub Desktop.
Trigger Jenkins job on version tag
- job:
name: 'release-application'
defaults: defaults
scm:
- git:
url: 'ssh://jenkins@gerrit:29418/application'
refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
branches:
- 'refs/tags/v*'
skip-tag: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment