Skip to content

Failed to run launchable record build with Jenkins GitHub Branch Source build on Launchable CLI 1.66.1 #581

@basil

Description

@basil

After upgrading the Launchable CLI all of our PR builds started failing like this:

10:18:03  + launchable record build --name jenkins-Core-jenkins-PR-8267-1 --source jenkinsci/jenkins=.
10:18:04  Launchable recorded 1 commit from repository /home/jenkins/agent/workspace/Core_jenkins_PR-8267
10:18:04  Can't get commit hash. Do you run command under git-controlled directory? If not, please set a directory use by --source option.
10:18:04  'GIT_LOCAL_BRANCH'

Last working version was 1.66.0.

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