configuration-as-code-plugin/demos/github/README.md

512 B

Configure GitHub

Basic configuration of the GitHub plugin

sample configuration

jenkins: [...]
unclassified:
  githubpluginconfig:
    configs:
    - name: "InHouse GitHub EE"
      apiUrl: "https://github.domain.local/api/v3"
      credentialsId: "[GitHubEEUser]"
      manageHooks: true

Please note that the credentialsId takes the id of a set of credentials created as a "Secret Text Credential", i.e. a token from a GitHub user.