Skip to content

Ability to specify the repo path #15

@derwee

Description

@derwee

name: Ability to specify the repo path
about: Currently it is assumed the repo is in the base path. When including other repos as part of the PR, the tasks fails. Allowing to override the path would allow this to work


Feature Description

In the Repository class the baseDir is fetched from System variables. An input should be added as a task parameter to allow for the overriding of this assignment.

private gitOptions: Partial<SimpleGitOptions> = {
    baseDir: `${tl.getVariable('System.DefaultWorkingDirectory')}`,
    binary: 'git'
};

Motivation

We use multiple repos in a PR to automate and consolidate repetitive tasks.

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