Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
xhddx committed Mar 1, 2024
1 parent 464ceff commit 411bd61
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions content/tech/quickTest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@ 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
- jenkins
- newman
- node
- allure
## Installation
#### 1. install docker
# Installation
## 1. install docker
install jenkins and create a volume
{{< command >}}
docker pull jenkins/jenkins
{{< /command >}}
{{< command >}}
docker volume create jenkins-data
{{< /command >}}
#### 2. run jenkins in daemon state
## 2. run jenkins in daemon state
{{< command >}}
docker run \
-u root \
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 411bd61

Please sign in to comment.