Skip to content

Git error getting resource #4

@rorsten

Description

@rorsten

git fetch origin "$ref" $depthflag

Seems to be causing failures when I get gates:

Identity added: /tmp/git-resource-private-key (/tmp/git-resource-private-key)
Initialized empty Git repository in /tmp/build/get/.git
error: Server does not allow request for unadvertised object [sha from version.ref]

I notice that the official git resource uses a different command:
git clone --single-branch $depthflag $uri $branchflag $destination $tagflag

Is it possible to switch that line out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions