Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: In this guide, we use docker container for Jenkins installation. 

Setup Jenkins locally: 

To write.

  • Create a local directory on host-machine, where you want to store the container-logs. mkdir /jenkins/

    Code Block
    titleSetup Volume for Jenkins container on Host-machine
    sudo chown -R 1000:1000 /jenkins/


  • Install Jenkins using command:

    Code Block
    docker run --name JENKINS-CONTAINER-NAME --rm --detach --privileged --network jenkins --network-alias docker --volume /jenkins:/var/jenkins_home --publish 2376:2376 -p 80:8080 -p 50000:50000 mehmoodasif/jenkins 


  • A



Make your .netrc file exists in the root folder.

...