From 411bd61a6834019bb50c7e0aeaa4a612458a84d0 Mon Sep 17 00:00:00 2001 From: Carl Date: Fri, 1 Mar 2024 20:55:35 +0800 Subject: [PATCH] no message --- content/tech/quickTest.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/content/tech/quickTest.md b/content/tech/quickTest.md index 0278175..fadcb26 100644 --- a/content/tech/quickTest.md +++ b/content/tech/quickTest.md @@ -11,13 +11,13 @@ thumbnail: origin: Unsplash originURL: https://unsplash.com/photos/A4wa3SpyOsg --- -## Basic usage +# Basic usage what is continuous testing? \ Continuous testing aims to provide rapid and frequent feedback on the quality and reliability of the software being developed. It involves automatically executing a comprehensive set of tests, as part of the development and deployment pipeline. -## Prerequisites +# Prerequisites here is the preparation that need to know and will use in the follow steps\ - docker - github @@ -25,8 +25,8 @@ here is the preparation that need to know and will use in the follow steps\ - newman - node - allure -## Installation -#### 1. install docker +# Installation +## 1. install docker install jenkins and create a volume {{< command >}} docker pull jenkins/jenkins @@ -34,7 +34,7 @@ docker pull jenkins/jenkins {{< command >}} docker volume create jenkins-data {{< /command >}} -#### 2. run jenkins in daemon state +## 2. run jenkins in daemon state {{< command >}} docker run \ -u root \ @@ -46,16 +46,16 @@ docker run \ -v /var/run/docker.sock:/var/run/docker.sock \ jenkins/jenkins {{< /command >}} -#### 3. install jenkins plugins +## 3. install jenkins plugins - NodeJS - Allure -#### 4. config the plugin's locations +## 4. config the plugin's locations go to jenkins dashboard --> manage jenkins --> tools {{< image src="img/jenkins-allure-config.png" class="rounded" >}} {{< image src="img/jenkins-node-config.png" class="rounded" >}} -#### 5.create an item and config +## 5.create an item and config in the jenkins dashboard, click to create a new item -->freestyle project -->config - Source Code Management - choose git and paste you git url @@ -74,12 +74,12 @@ in the jenkins dashboard, click to create a new item -->freestyle project -->con - choose Allure report - Build Triggers - can choose Build periodically,so your project can be build and running at a specific time -## Run you project +# Run you project click build now to run your project and get the report {{< image src="img/jenkins-run.png" class="rounded" >}} {{< image src="img/jenkins-allure-report.png" class="rounded" >}} -## More About +# More About jenkins provides various plugins and support to different stack, it also support java and golang project continues build. it is very useful\ in a big company, there always a platform to control this flow and make it view more acceptable to technical and