Skip to content

Plugin fails after removal of master branch #155

@paullewisn

Description

@paullewisn

I branched master to main some time ago and set this as the default branch on our repos, today I deleted the master branch but this has caused an error on our build pipeline:

Interaction with plugin with id 'github.pr' implementing 'scm' extension failed while requesting for 'checkout'. 
Reason: [The plugin sent a response that could not be understood by Go. 
Plugin returned with code '500' and the following response: 
'"Exception (Process exited with an error: 128 (Exit value: 128)) 
Occurred: [git, clone, --branch\u003dmaster, git@github.com:myorg/myrepo.git, /var/lib/go-agent-2/pipelines/build.pr] - null"']

Is there a configuration/env vars I need to update? I have restored master for now.

v1.3.4
GoCD Version: 19.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions