-
Bug
-
Resolution: Duplicate
-
Major
-
None
After upgrading to Jenkins 2.7 I'm facing the issue that no longer the build parameters are getting set. E.g. "destinationCommitHash" and all the other build parameters that are usually getting set by this plugin are missing.
Hence the Jenkins job will fail as it's not able to pull the PR commit. Before upgrading to Jenkins 2.7 everything worked as expected.
> git -c core.askpass=true fetch --tags --progress ssh://git@repo/${destinationRepositoryOwner}/${destinationRepositoryName}.git +refs/pull-requests/*:refs/remotes/origin/pr/* ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from ssh://git@repo/${destinationRepositoryOwner}/${destinationRepositoryName}.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:799) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1055) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)
- duplicates
-
JENKINS-34847 Missing parameters
- Resolved