1. First, an error message is reported when associating git: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this This is because I am not running the master branch code of git, so an error is reported. For details, please refer to this article The solution is to set the specified branch as shown in the figure below, which means any branch. This will clone the code on git to the jenkins container directory as a project. Here I am: /var/jenkins_home/workspace/first_python/ 2. Set up the execution shell to run the program 2. After saving the build execution, you can see the execution results in the console output. How to use skip to skip test execution in Pytest This is the end of this article about Jenkins deployed with docker running programs on git. For more relevant dockerjenkins git content, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: SSM VUE Axios Detailed Explanation
>>: Solutions to the problem of table nesting and border merging
The RHEL/CentOS series of Linux operating systems...
Responsive layout systems are already very common...
Shell is a program written in C language, which i...
Table of contents Preface text Primitive types Pr...
1. Business Scenario I have been doing developmen...
1. Add the following code to http{} in nginx.conf...
This article example shares the specific code of ...
When you see a class, what information do you wan...
1. Element time selection submission format conve...
Technical Background This application uses the vu...
illustrate: Using mysqldump –all-databases will e...
When you learn MySQL, you will find that it comes...
Question: How to achieve a rounded rectangle usin...
Docker allows network services to be provided by ...
Copy code The code is as follows: <frameset co...