File tree Expand file tree Collapse file tree
src/main/java/org/jenkinsci/plugins/github/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <extensions xmlns =" http://maven.apache.org/EXTENSIONS/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd" >
2+ <extension >
3+ <groupId >io.jenkins.tools.incrementals</groupId >
4+ <artifactId >git-changelist-maven-extension</artifactId >
5+ <version >1.2</version >
6+ </extension >
7+ </extensions >
Original file line number Diff line number Diff line change 1+ -Pconsume-incrementals
2+ -Pmight-produce-incrementals
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >org.jenkins-ci.plugins</groupId >
77 <artifactId >plugin</artifactId >
8- <version >4.2 </version >
8+ <version >4.10 </version >
99 <relativePath />
1010 </parent >
1111
1212 <groupId >com.coravy.hudson.plugins.github</groupId >
1313 <artifactId >github</artifactId >
14- <version > 1.32.0-SNAPSHOT </version >
14+ <version >${revision}${changelist} </version >
1515 <packaging >hpi</packaging >
1616
1717 <name >GitHub plugin</name >
3636 </developers >
3737
3838 <scm >
39- <connection >scm:git:git://github.com/jenkinsci/github-plugin .git</connection >
40- <
developerConnection >scm:git:
[email protected] :
jenkinsci/github-plugin .git</
developerConnection >
41- <url >https://github.com/jenkinsci/github-plugin </url >
42- <tag >HEAD </tag >
39+ <connection >scm:git:git://github.com/${gitHubRepo} .git</connection >
40+ <
developerConnection >scm:git:
[email protected] :
${gitHubRepo} .git</
developerConnection >
41+ <url >https://github.com/${gitHubRepo} </url >
42+ <tag >${scmTag} </tag >
4343 </scm >
4444 <issueManagement >
4545 <system >JIRA</system >
4646 <url >https://issues.jenkins-ci.org/browse/JENKINS/component/15896</url >
4747 </issueManagement >
4848
4949 <properties >
50+ <revision >1.32.0</revision >
51+ <changelist >-SNAPSHOT</changelist >
52+ <gitHubRepo >jenkinsci/github-plugin</gitHubRepo >
5053 <jenkins .version>2.164.3</jenkins .version>
5154 <release .skipTests>false</release .skipTests>
5255 <maven .javadoc.skip>true</maven .javadoc.skip>
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ public class GitHubPluginConfig extends GlobalConfiguration {
8282 private transient InstanceIdentity identity ;
8383
8484 public GitHubPluginConfig () {
85+ getConfigFile ().getXStream ().alias ("github-server-config" , GitHubServerConfig .class );
8586 load ();
8687 }
8788
Original file line number Diff line number Diff line change 77import com .google .common .base .Optional ;
88import com .google .common .base .Predicate ;
99import com .google .common .base .Supplier ;
10- import com .thoughtworks .xstream .annotations .XStreamAlias ;
1110import edu .umd .cs .findbugs .annotations .NonNull ;
1211import hudson .Extension ;
1312import hudson .Util ;
5958 * @author lanwen (Merkushev Kirill)
6059 * @since 1.13.0
6160 */
62- @ XStreamAlias ("github-server-config" )
6361public class GitHubServerConfig extends AbstractDescribableImpl <GitHubServerConfig > {
6462 private static final Logger LOGGER = LoggerFactory .getLogger (GitHubServerConfig .class );
6563
You can’t perform that action at this time.
0 commit comments