Details
-
Improvement
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Various API improvements that make it easier to implement/consume SCM API:
- Provide a way to perform probes without doing a full scan
- Provide a way to allow scanning with custom criteria
- Tweak the contract of SCMFileSystem to make it easier to implement/consume while reducing round trips
- Clarify the difference between the SCMFileSystem view and the probe view.
- Add categorization of SCMSource / SCMHead so that e.g. the Branch API can sort based on categories
Attachments
Issue Links
- is blocking
-
JENKINS-40299 Adapt to the new SCM API for detecting change requests
-
- Closed
-
-
JENKINS-33273 Optimize Jenkinsfile loading and branch detection
-
- Resolved
-
- is duplicated by
-
JENKINS-42080 API to write a single file to the repository
-
- Closed
-
-
JENKINS-39703 API to read a single file from the repository
-
- Closed
-
- links to
Code changed in jenkins
User: Stephen Connolly
Path:
pom.xml
src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java
src/main/java/jenkins/plugins/git/GitSCMFile.java
src/main/java/jenkins/plugins/git/GitSCMFileSystem.java
src/main/java/jenkins/plugins/git/GitSCMSource.java
src/test/java/jenkins/plugins/git/AbstractGitSCMSourceRetrieveHeadsTest.java
src/test/java/jenkins/plugins/git/GitSCMFileSystemTest.java
src/test/java/jenkins/plugins/git/GitSCMSourceTest.java
src/test/java/jenkins/plugins/git/GitSampleRepoRule.java
http://jenkins-ci.org/commit/git-plugin/63a092f8e5b3b40b7e99cd290393027312608466
Log:
Merge pull request #455 from jenkinsci/jenkins-39355-follow-up-3.x
master branch [JENKINS-39355 follow up]
JENKINS-40382Pick up SCM API 2.xCompare: https://github.com/jenkinsci/git-plugin/compare/37a95884ac78...63a092f8e5b3