Jenkins Python Pipeline Tutorial

preview_player
Показать описание
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.

Рекомендации по теме
Комментарии
Автор

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

Hossein
Автор

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

jacobolson
Автор

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

CAlexDev-gyes
Автор

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

renunegi
Автор

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

StfuNGfys
Автор

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!

enigmaclothing
Автор

Thank you for sharing, Vincent! really helpful!

suryayehezki
Автор

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 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.

krappr
Автор

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

ukratitelkisok
Автор

Brilliant simple video - really appreciate your effort!!

jensenlangford
Автор

thanks for making this video, really needed it.

somirajput
Автор

Thank you for its enjoyeble to learn from you.

aaaaaacvbbcfcjhgjgchgdk.
Автор

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

dance
Автор

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?

girishraghunathan
Автор

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.

stephanieezat-panah
Автор

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

BugMonsters
Автор

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

stephanieezat-panah
Автор

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

RJ-zdep
join shbcf.ru