Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for coming release of git-client using Apache Mina, adapt hackhish code #2561

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

olamy
Copy link
Member

@olamy olamy commented Jun 11, 2024

Signed-off-by: Olivier Lamy [email protected]

Description

See JENKINS-XXXXX.

Submitter checklist

  • Link to JIRA ticket in description, if appropriate.
  • Change is code complete and matches issue description
  • Appropriate unit or acceptance tests or explanation to why this change has no tests
  • Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.

Reviewer checklist

  • Run the changes and verified the change matches the issue description
  • Reviewed the code
  • Verified that the appropriate tests have been written or valid explanation given

@olamy olamy requested a review from a team as a code owner June 11, 2024 03:50
@@ -138,6 +138,9 @@ static List<ErrorMessage.Error> validateCredentials(@NonNull String uri, @Nullab
private static boolean checkCauseNotAuthenticated( GitException e) {
if(e.getCause() instanceof TransportException){
TransportException te = (TransportException)e.getCause();
if(StringUtils.contains(te.getMessage(), "Cannot log in ")) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rely on error message :(
so error message is not anymore from trilead but from apache mina so it;s a different one.

Signed-off-by: Olivier Lamy <[email protected]>
@olamy olamy changed the title Test with git-client using Apache Mina, adapt hackhish code Prepare for coming release of git-client using Apache Mina, adapt hackhish code Jun 11, 2024
Signed-off-by: Olivier Lamy <[email protected]>
@olamy olamy merged commit a38f15f into master Jun 11, 2024
2 of 5 checks passed
@olamy olamy deleted the git-client-apache-mina-ssh branch June 11, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant