diff --git a/pom.xml b/pom.xml index 04de100..51145e0 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,8 @@ org.jenkins-ci.plugins plugin - 2.11 + 5.9 + @@ -19,23 +20,11 @@ https://github.com/jenkinsci/bitbucket-pullrequest-builder-plugin - scm:git:ssh://git@github.com/jenkinsci/bitbucket-pullrequest-builder-plugin.git + scm:git:https://git@github.com/jenkinsci/bitbucket-pullrequest-builder-plugin.git scm:git:ssh://git@github.com/jenkinsci/bitbucket-pullrequest-builder-plugin.git https://github.com/jenkinsci/bitbucket-pullrequest-builder-plugin.git bitbucket-pullrequest-builder-1.4.30 - - - - nishio_dens - nishio_dens - nishio@densan-labs.net - - - damovsky - Martin Damovsky - martin.damovsky@gmail.com - - + @@ -65,7 +54,6 @@ commons-codec commons-codec - 1.9 org.codehaus.jackson @@ -80,12 +68,10 @@ org.jenkins-ci symbol-annotation - 1.1 com.google.guava guava - 14.0-rc3 org.easymock diff --git a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java index bd03a6b..5bb051e 100644 --- a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java +++ b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java @@ -26,7 +26,7 @@ import org.eclipse.jgit.transport.URIish; import org.jenkinsci.Symbol; import org.kohsuke.stapler.DataBoundConstructor; -import org.kohsuke.stapler.StaplerRequest; +import org.kohsuke.stapler.StaplerRequest2; import antlr.ANTLRException; import hudson.Extension; @@ -381,7 +381,7 @@ public String getDisplayName() { } @Override - public boolean configure(StaplerRequest req, JSONObject json) throws FormException { + public boolean configure(StaplerRequest2 req, JSONObject json) throws FormException { save(); return super.configure(req, json); }