Complete SCM setup tutorial

1,973 views
Skip to first unread message

OFO

unread,
Sep 4, 2017, 4:39:35 AM9/4/17
to rundeck-discuss
Hi all,

Where can i found a complete SCM configuration documentation ?
Cause I don't understand the authenfication part.

I have a test project on Rundeck with a test Git REPO on Git.
The REPO seem to be detected by Rundek by when i Pull change, i have a authentification problem

>> Failed push to remote: https://github.com/username/project_test.git: Authentication is required but no CredentialsProvider has been registered


Thx





Greg Schueler

unread,
Sep 5, 2017, 1:50:47 PM9/5/17
to rundeck-discuss
Github authentication can be done in two ways:


## Using HTTPS

If you use the `https` URL, then you need to specify a Username and Password to authenticate:

Username: Github username
Password: Github Token (You can generate a token in the Github Settings > Developer Settings > Personal Access tokens)

1. Save the token in the Key Storage, and copy the key storage path
2. Configure the SCM git plugin using Git URL `https://user...@github.com/org/repo.git`
3. Configure the "Authentication > Password Storage Path"  to the path to your access token

## Using SSH

If you are using the SSH (either git:// or ssh://) URL, then you need to store your SSH private key in the Rundeck Key Storage, and use that for the "Authentication > SSH Key Storage Path".


--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To post to this group, send email to rundeck...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/48814b02-5b73-46a9-b752-d57c1f9e2374%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

OFO

unread,
Sep 7, 2017, 11:16:49 AM9/7/17
to rundeck-discuss


Really THANKS !!

It's working like a charm !! 
Reply all
Reply to author
Forward
0 new messages