Skip to content

can't parse git urls that have a different ssh port #8

@bdangit

Description

@bdangit

input: ssh://git@someplace.com:2289/bdangit/quickstart-generic.git

expect:

host = someplace.com:2289
owner = bdangit
repoName = quickstart-generic
branch = master

error:

api_1    | 170320/144952.596, (1490021391276:c49c65e21df8:17:j0hql2eb:10010) [request,server,error] data: Error: 404 Reason "{"error":"404 Not Found"}" Caller "_parseUrl"
api_1    |     at checkResponseError (/usr/src/app/node_modules/screwdriver-scm-gitlab/index.js:62:11)
api_1    |     at breaker.runCommand.then (/usr/src/app/node_modules/screwdriver-scm-gitlab/index.js:289:13)
api_1    |     at process._tickDomainCallback (internal/process/next_tick.js:129:7)
api_1    | 170320/144951.276, [response,api,pipelines] http://192.168.79.140:9001: post /v4/pipelines {} 500 (1324ms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions