jenkins-job-builder/tests/multibranch/fixtures/multibranch_defaults_path_mode.yaml
Rotaru Sergey ff0ecac7c6 Implement script-id for multibranch with default.
Main feature to use multibranch with defaults project type is
build configuration mode with default groovy script
stored in global Jenkins store provided by config-file provider
plugin. Options "script-id" and "sandbox" fully implements this
feature.

Besides both project type support "script-path" and "script-id"
mode. It may be convenient to switch mode without changing project
type in order to save project history.

Change-Id: I4cd62e69c9abe7d8fc2e0dfdbe25d8b07ddf51c5
2020-06-15 13:51:13 +03:00

8 lines
171 B
YAML

name: 'demo-multibranch-defaults'
project-type: multibranch-defaults
scm:
- github:
repo: 'foo'
repo-owner: 'johndoe'
credentials-id: 'secret'