Skip to content

Fix for error when job is configured with multiple remotes and branch spec is set to commit SHA1#395

Merged
MarkEWaite merged 2 commits intojenkinsci:masterfrom
gosuwachu:dev/pwach/multi-remote
Jun 5, 2016
Merged

Fix for error when job is configured with multiple remotes and branch spec is set to commit SHA1#395
MarkEWaite merged 2 commits intojenkinsci:masterfrom
gosuwachu:dev/pwach/multi-remote

Conversation

@gosuwachu
Copy link

Steps to reproduce:

  1. create a job and add git scm, with two remotes:
    /source/repo1.git
    /source/repo2.git
  2. set branch to commit SHA1 from one of the two repos
  3. build

Expected: Successful build
Actual: Failed build with error:
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

@ghost
Copy link

ghost commented May 3, 2016

👍

@MarkEWaite
Copy link
Contributor

MarkEWaite commented Jun 4, 2016

Is there a reason you chose not to try the change proposed in #285 ?

Your proposed change passed my initial interactive testing and automated tests on multiple platforms and multiple git versions. I'll continue evaluating it as preferred over PR285

@MarkEWaite MarkEWaite merged commit c0e595c into jenkinsci:master Jun 5, 2016
@gosuwachu
Copy link
Author

#285 solved just one specific problem, not the one that I have seen.

@gosuwachu gosuwachu deleted the dev/pwach/multi-remote branch January 30, 2017 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants