JCasC extra slash `/` in repository name

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Environment:
      Jenkins version: 2.295
      github-branch-source: 2.11.2

      It seems that via jcasc plugin it adds one extra slash on repository name after `https://github.com/` like bellow:

      My configuration is:

      multibranchPipelineJob('Automation-CI') {
          description('Job generated by DSL')
          branchSources {
              github {
                  id('Automation-CI')
                  scanCredentialsId('token')
                  repository('myproject/automation')
                  includes('*')
                  buildForkPRHead(false)
                  buildForkPRMerge(false)
                  buildOriginBranch(true)
                  buildOriginBranchWithPR(true)
                  buildOriginPRHead(true)
                  buildOriginPRMerge(true)
              }
          }
          orphanedItemStrategy {
              discardOldItems {
                  daysToKeep(5)
                  numToKeep(3)
              }
          }
      }
      

            Assignee:
            Unassigned
            Reporter:
            Krack
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: