jenkinsci/scm-api-plugin


https://plugins.jenkins.io/scm-api/

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.jenkinsci:scm-api-plugin:scm-api-2.6.5'
	}
	dependencies {
		implementation("com.github.jenkinsci:scm-api-plugin:scm-api-2.6.5")
	}
	<dependency>
	    <groupId>com.github.jenkinsci</groupId>
	    <artifactId>scm-api-plugin</artifactId>
	    <version>scm-api-2.6.5</version>
	</dependency>

                            
    libraryDependencies += "com.github.jenkinsci" % "scm-api-plugin" % "scm-api-2.6.5"
        
        

                            
    :dependencies [[com.github.jenkinsci/scm-api-plugin "scm-api-2.6.5"]]
        
        

Readme


Jenkins SCM API Plugin

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

If you are writing a plugin that implements this API, please see the implementation guide

If you are writing a plugin that consumes this API, please see the consumer guide

Build

To build the plugin locally:

mvn clean verify

Test local instance

To test in a local Jenkins instance

mvn hpi:run