The most comprehensive arrangement on the whole network, Allure integrates Jenkins automated testing practice (details)


foreword

Allure plugin installation

Jenkins integrates allure test reports and needs to install the Allure plug-in as support

1. Open Jenkins, click [Manage Jenkins] on the home page

D1

2. Select [Manage Plugins]

D2

3. Select the [Available] option, enter Allure in the search input box, the searched name is Allure, and the name will change to Allure Jenkins Plugin after installation

D3

Allure Commandline configuration

1. On the jenkins configuration page, select the global tool configuration [Global Tool Configuration]

D4

2. Scroll down to the last item on the global palace configuration page, and you will see the "Allure Commandline" item, configure it as shown in the figure below and save it

D5

Job configuration

1. Create a new job
Jenkins homepage and click New Job [New Item]

D6

Enter the job name, select a free-style item, and click [ok]

D7

2. General configuration
Enter description information and other information, because my project is in my local, so I have not configured other options here, you can set it according to the actual situation

D8

Source Code Management

D9

Build

Enter the following command, my test project uses a virtual environment

D10

Post-build Actions

Enter the Path name, where the path name indicates that this folder is generated under the project and directory, and the folder is used to save the json, xml, txt and other types of files that are relied upon before generating the html report

D11

Click [Advanced], enter the Report path name, the path here will also be generated in the root directory of the project, and save the final html report at the same time

D12

After all the above information configuration is completed, save it

Execute the build
Next click [Build Now] to execute the build

D13

Q14

view report

D15

The following is the most complete software test engineer learning knowledge architecture system diagram in 2023 that I compiled

1. From entry to mastery of Python programming

Please add a picture description

2. Interface automation project actual combat

Please add a picture description

3. Actual Combat of Web Automation Project

Please add a picture description

4. Actual Combat of App Automation Project

Please add a picture description

5. Resume of first-tier manufacturers

Please add a picture description

6. Test and develop DevOps system

Please add a picture description

7. Commonly used automated testing tools

Please add a picture description

Eight, JMeter performance test

Please add a picture description

9. Summary (little surprise at the end)

Everything in the world has a cause and effect. Only by working hard can you change the trajectory of your destiny and create your own brilliance. No matter how difficult it is, perseverance will lead you to the road to success. Believe in yourself, never give up, and achieve the great dream in your heart!

Only those who have experienced setbacks can achieve extraordinary brilliance; only persistent efforts can reach the pinnacle of life. No matter how difficult the road ahead is, go forward bravely and never give up! Believe in your own strength, you will be able to create your own miracles!

Perseverance, only hard work will yield results; pursuit of excellence, only hard work can create miracles; do your best, only brave struggle will succeed. On the road of life, as long as you don't give up, you will be able to realize your dreams!

Guess you like

Origin blog.csdn.net/csdnchengxi/article/details/131751442
Recommended