Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

Remove mutiple ways to get github token #402

@sthaha

Description

@sthaha

I find that there are two ways to fetch github token in the pipeline library

  1. withCredentials to lookup cd-github see:
    withCredentials([usernamePassword(credentialsId: 'cd-github', passwordVariable: 'PASS', usernameVariable: 'USER')]) {
  2. Fabric8Command.getGitHubToken which uses a different mechanism. See:

Lets ensure there is only one way to do this.

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