Jenkins Python Pipeline Tutorial

Ғылым және технология

I walk through the full process of setting up Jenkins to create a CICD pipeline for your Python projects and perform automated tests on commits that come into a Github repo. I also show how to use Docker to quickly and easily install and run a Jenkins container. I go through preparing the Jenkins Docker container to enable Jenkins build and test your code successfully.
Link to the commands and Jenkins Pipeline script (Jenkinsfile) used in this video: github.com/vastevenson/jenkin...

Пікірлер: 43

  • @enigmaclothing5379
    @enigmaclothing5379Ай бұрын

    You saved my ass at university - thank you. Just to mention for other people - I have been looking for a normal tutorial with explanation regarding jenkins and python installation in it over 3 days. This man saved my ass. Once again - thank's a lot!

  • @krappr
    @krappr11 ай бұрын

    Explanation of the docker run command used on the start of the video: docker run: This command is used to run a Docker container. -p 8080:8080 -p 50000:50000: These options define port mappings between the host machine and the container. In this case, it maps port 8080 of the host to port 8080 of the container, and port 50000 of the host to port 50000 of the container. This allows you to access the services exposed on these ports from your host machine. -v jenkins_home:/var/jenkins_home: This option specifies a volume mapping between the host machine and the container. It creates a named volume called "jenkins_home" and maps it to the "/var/jenkins_home" directory inside the container. This volume is used to persist Jenkins data, such as job configurations, plugins, and other data that needs to be preserved even if the container is restarted or removed. jenkins/jenkins:lts-jdk11: This specifies the Docker image to run. It pulls the "jenkins" image from the Docker Hub repository, with the "lts-jdk11" tag. This image contains the Jenkins CI/CD platform with JDK 11. So, when you execute the command, Docker will run a container based on the "jenkins/jenkins:lts-jdk11" image. The container will have its ports 8080 and 50000 mapped to the corresponding ports on the host machine, allowing you to access the Jenkins web interface and Jenkins agent communication on those ports. Additionally, the "jenkins_home" volume is created to store persistent Jenkins data.

  • @stephanieezat-panah7750

    @stephanieezat-panah7750

    10 ай бұрын

    this is great. thank you

  • @Hossein118
    @Hossein118 Жыл бұрын

    Such a great video. I love the way you walked us through the actual process.

  • @CAlexDev-gy2es
    @CAlexDev-gy2es3 ай бұрын

    Great tutorial! Looked everywhere for a quick straightforward video on this

  • @jacobolson1331
    @jacobolson1331 Жыл бұрын

    That was a really well thought out tutorial with great commentary!

  • @renunegi3519
    @renunegi351910 ай бұрын

    such a nice detailed video, i am able to run my git file using Jenkins. Thanks!!

  • @dance3991
    @dance3991Ай бұрын

    It helps me solve python not found issue. Great video and much thanks! :)

  • @suryayehezki
    @suryayehezki5 ай бұрын

    Thank you for sharing, Vincent! really helpful!

  • @ukratitelkisok9726
    @ukratitelkisok9726 Жыл бұрын

    thank you very much in great detail. This is the only video that helped me very good. Thank you author

  • @StfuNGfys
    @StfuNGfys Жыл бұрын

    Its really helpful ♥️, keep more doing on automation testing with python pytest.

  • @maliksvisuals285
    @maliksvisuals2852 ай бұрын

    awesome tutorial Vincent!!

  • @somirajput684
    @somirajput6842 ай бұрын

    thanks for making this video, really needed it.

  • @kingleo188
    @kingleo188 Жыл бұрын

    Very well explained bud.

  • @RJ-zd5ep
    @RJ-zd5ep14 күн бұрын

    Hi Vincent , please tell me ,if threre are sub directory in git repo then how to traverse through that dirctory while running it through pipeline

  • @geryon5997
    @geryon59972 ай бұрын

    Great tutorial mate! Thanks a lot!

  • @RahulPandey-wl2kw
    @RahulPandey-wl2kw8 күн бұрын

    Awesome Video Sir. 👏👏

  • @paupolin1
    @paupolin1 Жыл бұрын

    You save my day :)

  • @aaaaaacvbbcfcjhgjgchgdk.9794
    @aaaaaacvbbcfcjhgjgchgdk.9794 Жыл бұрын

    Thank you for its enjoyeble to learn from you.

  • @mpower3435
    @mpower34358 ай бұрын

    Thanks for the effort 👍🏻

  • @yogeshwarn84
    @yogeshwarn84 Жыл бұрын

    Good content vincent . Thanks

  • @ytg6663

    @ytg6663

    Жыл бұрын

    Ohh

  • @commonman5768
    @commonman576810 ай бұрын

    Great vedio Vincent

  • @melvinkimathi8924
    @melvinkimathi8924 Жыл бұрын

    Thank you for this.

  • @selomie2721
    @selomie272111 ай бұрын

    Nice one thank you!

  • @lilbean_eth
    @lilbean_eth2 ай бұрын

    Appreciate this :)

  • @girishraghunathan2946
    @girishraghunathan2946 Жыл бұрын

    We already checked out the git repository in first stage, so why we have to specify git branch command in the second stage again? What is its purpose please?

  • @KrishnaPrasad8357

    @KrishnaPrasad8357

    Ай бұрын

    I have the same question. Did you figure it out?

  • @Skaxarrat
    @Skaxarrat5 ай бұрын

    You saved me, thanks

  • @thereallyegreg
    @thereallyegreg Жыл бұрын

    Cool, thanks a lot!

  • @amarnatha1614
    @amarnatha16143 күн бұрын

    Thank you sir

  • @MaYa-mu8lz
    @MaYa-mu8lz4 ай бұрын

    Спасибо, мужик. Очень толково

  • @ShanSiraj
    @ShanSiraj9 ай бұрын

    It's great.. Thanks...

  • @CristianGarcia-ku6qj
    @CristianGarcia-ku6qj Жыл бұрын

    Thanks!!

  • @stephanieezat-panah7750
    @stephanieezat-panah775010 ай бұрын

    I noticed that there is no .git directory in the zip file that I downloaded. I am confused. please explain

  • @brutely9718

    @brutely9718

    2 ай бұрын

    It's hidden

  • @jericholiao8134
    @jericholiao813411 ай бұрын

    GoodJob,Thanks bro

  • @BugMonsters
    @BugMonsters Жыл бұрын

    Great Tutorial. Could please also explain how to set up this pipeline without the need of docker?

  • @stephanieezat-panah7750

    @stephanieezat-panah7750

    10 ай бұрын

    yes please, and thank you

  • @commonman5768

    @commonman5768

    10 ай бұрын

    Just use pip package dependency war file which holds all dependency to run python project

  • @commonman5768

    @commonman5768

    10 ай бұрын

    Just use pip package dependency war file which holds all dependency to run python project

  • @stephanieezat-panah7750
    @stephanieezat-panah775010 ай бұрын

    Help! I use port 8080 for Apache Tomcat. what to do?? An update: I uninstalled Tomcat and reran the command. All was well and I was able to continue. thank you. This has been a fabulous video. You have saved me.

  • @djdc9438
    @djdc94389 ай бұрын

    Wena choro

Келесі