Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-73796

GitSCM contains 'username@' in the URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • bitbucket-branch-source:871.v28d74e8b_4226

      Since version 871.v28d74e8b_4226, the GitSCM built by SCMSource (Multibranch Pipeline job) contains a URL with the username added to it:

      [Pipeline] checkout
      The recommended git tool is: NONE
      using credential temp
       > git rev-parse --resolve-git-dir /tmp/je-1-home/workspace/test_master/.git # timeout=10
      Fetching changes from the remote Git repository
       > git config remote.origin.url https://myuser@my.bitbucket.local/myuser/myrepo.git # timeout=10
      [...]
      

      It is also included in GIT_URL injected environment variable.

            Unassigned Unassigned
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: