×
Find plugins

SCM API2.2.5Minimum Jenkins requirement: 1.609.3ID: scm-api

Installs: 141103
Last released: 16 days ago
Maintainers
Stephen Connolly

Plugin Information

Plugin ID

scm-api

Changes

In Latest Release
Since Latest Release

Latest Release
Latest Release Date
Required Core
Dependencies

2.2.4 (archives)
Nov 02, 2017
1.609.3
structs (version:1.9)

Source Code
Issue Tracking
Pull Requests
Maintainer(s)

GitHub
Open Issues
Pull Requests
Stephen Connolly (id: stephenconnolly)

Usage

Installations

2016-Nov 114167
2016-Dec 113104
2017-Jan 120974
2017-Feb 120509
2017-Mar 130633
2017-Apr 126597
2017-May 133496
2017-Jun 134157
2017-Jul 134545
2017-Aug 138988
2017-Sep 139664
2017-Oct 141103

SCM API Plugin

This plugin provides a new enhanced API for interacting with SCM systems.

Version History

Version 2.2.5 (Nov 3, 2017)

  • Add a utility API to allow implementation plugins to use a standard mechanism for normalizing SCM URIs in order to assist comparisons (no user visible changes)

Version 2.2.4 (Nov 2, 2017)

  • Clarify the help text for the built in filters. The built in filters treat the SCMHead name as a name, no special processing. A lot of people were wondering why when they set a filter like 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 (wink))

Version 2.2.3 (Oct 6, 2017)

Version 2.2.2 (Sep 14, 2017)

Changes to test framework; no user-visible change.

Version 2.2.1 (Aug 22, 2017)

Changes to test framework; no user-visible change.

Version 2.2.0 (Jul 17, 2017)

  • JENKINS-45436 API to generate (mostly) human readable names of SCM server URLs
  • JENKINS-45434 Add an avatar cache so that SCMs that providing fixed size avatars can convert to Jenkins native sizes
  • JENKINS-45331 Prevent log-spam when instantiating trait based SCMNavigator / SCMSource implementations
  • JENKINS-43507 Allow SCMSource and SCMNavigator subtypes to share common traits
  • JENKINS-44891 Migrate SCMSource's id field to a @DataBoundSetter
  • JENKINS-44884 Add @Symbol annotations
  • JENKINS-44648 SCMRevisionAction should record corresponding source
  • JENKINS-43433 Allow SCMSource implementations to expose merge and origin of change request heads

Version 2.1.1 (Mar 16, 2017)

  • JENKINS-41736 Add ability for SCMEvents to be contextually self-describing

Version 2.1.0 (Mar 08, 2017)

  • JENKINS-42542 SCMHeadObserver.observe(SCMHead,SCMRevision) should be allowed to throw IO and Interrupted exceptions

Version 2.0.8 (Mar 01, 2017)

  • No user facing changes. The plugin is effectively identical to the 2.0.4 release.
  • Added AbstractSampleRepoRule & AbstractSampleDVCSRepoRule to the test harness.

Version 2.0.7 (Feb 20, 2017)

  • No user facing changes. The plugin is effectively identical to the 2.0.4 release.
  • Test harness updates

Version 2.0.6 (Feb 20, 2017)

  • No user facing changes. The plugin is effectively identical to the 2.0.4 release.
  • Test harness updates

Version 2.0.5 (Feb 17, 2017)

  • No user facing changes. The plugin is effectively identical to the 2.0.4 release.
  • JENKINS-42150 update the test harness to allow the mock implementation to have fake latency
  • PR#28 update the documentation for implementers of the SCM API
  • PR#31 update the test dependencies to make running the plugin compatibility test suite against newer Jenkins versions easier

Version 2.0.4 (Feb 14, 2017)

Version 2.0.3 (Feb 7, 2017)

Version 2.0.2 (Feb 2, 2017)

  • JENKINS-41453
  • JENKINS-41121
  • Scare admins away from doing partial updates
  • Need to be able to recover a controller with a specific ID for LocalData tests
  • Make MockSCM usable from Pipeline's checkout step
  • JENKINS-40828 Fix some NPEs found when using downstream
  • Tags need a timestamp
  • JENKINS-38718
  • JENKINS-40829
  • JENKINS-40828
  • JENKINS-40827
  • Javadoc errors to zero
  • Merge pull request #19 from jenkinsci/navigator-ids
  • Merge pull request #18 from jenkinsci/important-doc-on-ids
  • Noting correct issue
  • Fix namespace
  • Add utilities to assist with event related testing
  • Simplify the child creation
  • NPE from findbugs
  • towards 2.0.1
  • Signature should be `of(Item,SCM)` not `of(SCM)`
  • SPI should not call back to API
  • EventListeners expect to be ACL.SYSTEM when notified

Version 2.0.1 (Jan 16, 2016)

This release caused JENKINS-41121.

  • (warning)  Please read this Blog Post before upgrading
  • (I will be updating the rest of the changes and removing this line after the chain of releases is done - SC)

Version 2.0.1-beta-1 (Dec 16, 2016)

  • Released to experimental update center to allow testing the downstream changes in github-branch-source and bitbucket-branch-source (both of which need upgrading to at least 2.0.0-beta-1 if you have them installed on your master)

Version 2.0 (Dec 7, 2016)

  • JENKINS-38987 Added pronouns to assist consuming plugins to name concepts like: SCMHead; SCMSource; and SCMNavigator with SCM specific idiomatic names, e.g. GitHub can respectively provide pronouns "Branch"/"Tag"/"Pull request"; "Repository"; "Server", whereas something like Accurev could provide pronouns "Stream"/"Snapshot"; "Depot"; "Repository". The pronouns are more relevant for SCMHead as typically each SCM implementation is likely to have more than one type of head: mainlines, branches, tags, change requests, etc
  • JENKINS-39355 Various API improvements that make it easier to implement/consume SCM API including the addition of an event system to allow SCM implementations to consolidate push event handling from their backing SCM server.
  • JENKINS-40138 SCMHead.getActions() should never have been introduced into the SCM API. JENKINS-33309 was a mistake. The API is now marked as DoNotUse and is non-functional. Replacement API for the correct way to access the corresponding information have been documented.
  • Added documentation for plugin authors who are implementing the SCM API for their SCM system and consumers of the SCM API that want to access different SCM implementations through a single generic API
  • Added a mock SCM implementation in the tests-jar so that consumers can write unit tests of their implementation without needing to create SCM servers and manipulate SCM repositories to generate events or test conditions.

Version 1.3 (Sep 7, 2016)

  • Infrastructure for JENKINS-31155.
  • JENKINS-32768 SingleSCMSource configuration was not properly round-tripped.
  • More emphatically discourage use of SingleSCMSource.

Version 1.2 (Apr 11, 2016)

Version 1.1 (Mar 10, 2016)

Version 1.0 (Nov 12, 2015)

Version 0.3-beta-1

  • Introduced SCMNavigator API.
  • JENKINS-21007 Add a mechanism to get parent revision.

Version 0.2

Changelog not recorded.

Version 0.1

Initial release.

ArchivesGet past versions
Labels
This plugin has no labels