Skip to main content

relctl connect

Create an encrypted .rc file to persistently connect to GitHub or GitHub Enterprise.

Useful without a runner or in a Jenkins pipeline where environment variables are not automatically set by the CI system.

relctl connect [flags]

Flags

-h, --help help for connect
-v, --verbose verbose output

Subcommands

CommandDescription
relctl connect githubConnect to GitHub or GitHub Enterprise
relctl connect checkVerify current connection is working
relctl connect removeRemove all persisted connection files and secrets

connect github

relctl connect github [flags]
-h, --help help for github
-s, --server string GitHub server URL (default: https://github.com)
-t, --token string GitHub personal access token

connect check

relctl connect check [flags]
-h, --help help for check

connect remove

relctl connect remove [flags]
-h, --help help for remove