svn credentials does not work

zh99998's Avatar

zh99998

20 Jul, 2021 06:40 AM

the problem:

Job started
svn checkout -q svn://*****/ "/appveyor/projects/thtd" --non-interactive --trust-server-cert
svn log command exited with code 1
I see it run svn checkout with --username and --password (does not shown in web log but shown in server log) and checkout command works well, but following svn log command seems can't access the credential and failed.

If I save passwords manually in runner machine it will work.

  1. Support Staff 1 Posted by Feodor Fitsner on 20 Jul, 2021 06:23 PM

    Feodor Fitsner's Avatar

    If you can save credentials manually and it works then you may save them using a script on "init" phase of the build, before clone operation. Hope that helps.

  2. 2 Posted by zh99998 on 22 Jul, 2021 01:15 AM

    zh99998's Avatar

    this is a very general bug and will make all svn project fail.
    I don't think it should be patched in project.

  3. Support Staff 3 Posted by Feodor Fitsner on 22 Jul, 2021 05:27 PM

    Feodor Fitsner's Avatar

    OK, how/where do you save credentials to make it work? I'd check with that we do in a build agent.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac