Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the program problem of docker deploying jenkins running on git

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the docker deployment of jenkins run git on the program how to solve the relevant knowledge, the content is detailed and easy to understand, the operation is simple and fast, with a certain reference value, I believe that everyone after reading this docker deployment jenkins run git on how to solve the program problem will have a harvest, let's take a look at it.

1. First of all, the associated git encounters an error: error: couldn't find any revision to build. Verify the repository and branch configuration for this

This is because I did not run the master branch code of git, so I reported an error.

The solution is to set the designated branch according to the following figure, which represents the meaning of the any branch.

In this way, you will clone the code on git to the jenkins container directory as a project. Here is: / var/jenkins_home/workspace/first_python/.

2. Set up and execute the shell running program

2. After saving the execution of the build, you can see the execution result in the console output.

How pytest uses skip to skip executing tests

This is the end of the article on "how to solve the program problems on docker deployment jenkins running git". Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to solve the procedural problems on docker deployment jenkins running git". If you want to learn more knowledge, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report