Jenkins Beginner Tutorial 9 – How to add GitHub Credentials


    FREE Tutorials –
    GitHub –
    UPDATE**** – While connecting/pushing to github from any external platform/tool, you will NOW need to provide ACCESS TOKEN in place of password
    To generate Access Token
    1. Login to your GitHub account
    2. Verify your email address, if it hasn’t been verified yet.
    3. In the upper-right corner of any page, click your profile photo, then click Settings.
    4. In the left sidebar, click Developer settings.
    5. In the left sidebar, click Personal access tokens.
    6. Click Generate new token.
    7. Give your token a descriptive name.
    8. To give your token an expiration, select the Expiration drop-down menu, then click a default or use the calendar picker
    9. Select the scopes, or permissions, you’d like to grant this token. To use your token to access repositories from the command line, select repo.
    10. Click Generate token

    Training by Raghav at your venue – [email protected]
    Training schedule –

    ———— UI TESTING ————
    Selenium Beginners –
    Selenium Java Framework from Scratch –
    Selenium Python –
    Selenium Tips –
    Selenium Builder –
    Katalon Studio –
    Robot Framework with RIDE-
    Robot Framework with Eclipse –
    Protractor –
    TestProject –

    ———— API TESTING ————
    Web Services (API) –
    SoapUI –
    Postman –
    General –
    Katalon Studio API Testing –

    ———— MOBILE TESTING ————
    Appium –
    Mobile Playlist –

    ———— CI | CD | DEVOPS ————
    Jenkins Beginner –
    Jenkins Tips & Trick –
    Docker –
    Kubernetes –

    Git & GitHub –
    GitLab –

    JMeter Beginner –
    JMeter Intermediate –
    JMeter Advanced –
    JMeter Tips & Tricks –
    Performance Testing –

    ———— PROGRAMMING ————
    Java Beginners –
    Java Tips & Tricks –
    GROOVY –
    PYTHON –

    ———— IDE ————
    Visual Studio Code –

    ———— BUILD TOOLS ————
    Maven –
    Gradle –

    ———— OTHERS ————
    Misc –
    Tools & Tips –
    QnA Friday-
    Sunday Special –

    Ask Raghav –
    Interviews –
    All Playlists –

    Keep Learning,

    ———– Connect with Raghav ————
    Website –
    LifeCharger –
    Udemy Courses –
    Facebook –
    Twitter –
    Youtube –

    Like, Subscribe & Share
    You can support my mission for education by sharing this knowledge and helping as many people as you can

    If you like to contribute to my mission –


    Previous articleCICD for Automation Testers – 8, Install Git and Create account on GitHub
    Next articleKubernetes : l'essentiel en 7 minutes


    1. I am facing the below issue after following your video any idea please –
      Failed to connect to repository : Command "git ls-remote -h [email protected]****.**:nroy/test.git HEAD" returned status code 128:


      stderr: Permission denied (publickey).

      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights

      and the repository exists.

    2. Hi Raghav,
      I don't see 'Cloning the remote Github repository' when I run a job at Jenkins. I see this : The recommended git tool is: NONE. And then, this error message : No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
      Any idea what's going on here? I have changed all Build path, JRE System Library and Preferences in Eclipse to 'jdk1.8'. But Jenkins can't find Maven compiler.

    3. Hi raghav. I get a 443 time out error when running my jenkins job which is confugured to connect to a public repository in github
      I have a proxy setting and i have run the git config –global http.proxy myproxyname:port
      After this change. I am able to run git push command from windows but my Jenkins job still fails with 443 error. My github has credentials and i have added the same credentials to jenkins job.
      Your help would be appreciated