Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18129

Using credentials-plugin to authenticate against SCMs & getting rid of maven-scm-api

XMLWordPrintable

      As discussed in JENKINS-18124 by ndeloof & stephenconnolly, we might improve scm authentication by using credentials-plugin instead of maven-scm-provider's APIs.

      If done, we could wonder if it wouldn't be interesting to get rid of maven-scm-api abstraction and, instead, use some NIH to bring our own abstraction layer for scm manipulations dealt by the plugin.
      I'm not really satisfied with maven-scm-api for 2 reasons :

      • Some generic abstractions differ in their implementation (for instance, update() will not act the same with DVCS and VCS scms : svn will update current working copy whereas git will not always do a fetch)
      • Some implementations are not generic because not generalized yet amongst every SCMs (for instance, the log() command, accessible in SVN, is not generically available)

      ATM, we're only relying on a subset of available generic methods (see SCMManipulator class which represents the SCM access layer)

            Unassigned Unassigned
            fcamblor Frédéric Camblor
            Votes:
            23 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated: