{jenkins-plugin-info:scm-api|jiraComponent=scm-api|sourceDir=scm-api-plugin} |
This plugin provides a new enhanced API for interacting with SCM systems. |
SCMFileSystem.Builder#supports(SCMSourceDescriptor)
and #supports(SCMDescriptor)
methods.SCMNavigator
and SCMSource
base classes.WildcardSCMHeadFilterTrait
help documentation.master feature/*
why none of the PRs were building... the reason being that PR-123
does not match the filter. When using the filters built in to SCM-API you probably want something like master feature/* PR-*
to get PRs to build. An alternative filter implementation that probably does what you actually want is SCM Filter Branch PR Plugin as that will filter non-change requests like the built in filters but has a special case for PRs where instead it filters those based on the PR target head rather than the name of the PR (which will always be PR-... unless the SCMSource uses a different prefix for its change request concept Changes to test framework; no user-visible change.
Version 2.2.1 (Aug 22, 2017)
Changes to test framework; no user-visible change.
SCMHeadObserver.observe(SCMHead,SCMRevision)
should be allowed to throw IO and Interrupted exceptionsAbstractSampleRepoRule
& AbstractSampleDVCSRepoRule
to the test harness.This release caused JENKINS-41121. |
SingleSCMSource
configuration was not properly round-tripped.SingleSCMSource
.SCMSource.getTrustedRevision
API.SCMHead
may have actions, such as ChangeRequestAction
.HeadByItem
API.SCMNavigator
API.Changelog not recorded.
Initial release.