jenkins-job-builder/tests/scm/fixtures/git-extensions03.yaml
Barak Korren 11941c87f4 Fix bug in Git 'skip-tag' backwards compatibility
Using the (deprecated) 'skip-tag' option in Git  SCM did not work as
expected, despite code in place to maintain compatibility with it.

This needs to work to allow smooth transition for projects from JJB 1.x
to 2.x.

Also added a test case to expose the issue.

Change-Id: I90230f9fe97757bcc70e35b829fc887839a19e57
Signed-off-by: Barak Korren <bkorren@redhat.com>
2018-07-05 10:33:33 +03:00

17 lines
416 B
YAML

scm:
- git:
url: https://example.com/project.git
branches:
- master
browser: githubweb
browser-url: http://github.com/foo/example.git
basedir: 'go/src/github.com/foo/example'
excluded-users:
- alice@example.com
- bob@example.com
skip-tag: false
prune: true
scm-name: something_special
use-author: true
wipe-workspace: false