Currently I need to define the Github oauth2 token twice: once in the Github plugin and another time in the job dsl of this plugin. I would like to have this define once in Jenkins.

          [JENKINS-40760] Use Credentials defined in GitHub plugin

          Tomas Bjerre added a comment -

          This would add complexity to the implementation. And you can easily use the same credentials in a pipeline. https://jenkins.io/doc/pipeline/steps/credentials-binding/

          I dont want to implement this.

          Tomas Bjerre added a comment - This would add complexity to the implementation. And you can easily use the same credentials in a pipeline. https://jenkins.io/doc/pipeline/steps/credentials-binding/ I dont want to implement this.

            tomasbjerre Tomas Bjerre
            asafm Asaf M
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: