Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Project_jenkins_php
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MUNIER Florian
Project_jenkins_php
Commits
044e7f64
Commit
044e7f64
authored
2 years ago
by
MUNIER Florian
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.imt-atlantique.fr:f21munie/project_jenkins_php
parents
05de18a1
3e6d4b1b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+37
-14
37 additions, 14 deletions
README.md
with
37 additions
and
14 deletions
README.md
+
37
−
14
View file @
044e7f64
...
...
@@ -27,14 +27,17 @@ cd project_jenkins_php
```
sh
docker run
--rm
-ti
checktva php checktva.php product food 2
```
> OK TVA calculated
-
cas où il manque un argument :
```
sh
docker run
--rm
-ti
checktva php checktva.php product food
```
> Usage: php checktva.php <NAME> <TYPE> <PRICE>
-
cas où il y a une erreur de type :
```
sh
docker run
--rm
-ti
checktva php checktva.php product food l
```
> KO TVA not calculated Unsupported operand types: string * float
## Effectuer les tests manuellement
...
...
@@ -71,19 +74,9 @@ http://localhost:8080
-
Configuration de l'instance :
-
valider
## Créer un projet
-
Sélectionner "Nouveau item"
-
Saisissez un nom de projet (ex: Project_jenkins_php)
-
Sélectionner "Pipeline"
## Installer les plugins du projet
-
Allez dans "Tableau de bord"
-
Allez dans "Administrer Jenkins"
-
Dans le tableau de bord, allez dans "Administrer Jenkins"
-
Sélectionner "Gestion des plugins"
...
...
@@ -107,13 +100,21 @@ http://localhost:8080
-
S'identifier
##
Lancer le pipeline
##
Créer un projet
-
Sélectionner
votre projet
-
Sélectionner
"Tableau de bord"
-
Sélectionner "Configurer"
-
Sélectionner "Nouveau item"
-
Saisissez un nom de projet (ex: Project_jenkins_php)
-
Sélectionner "Pipeline"
-
Valider
## Lancer le pipeline
-
Dans le projet, sélectionner "Pipeline"
-
dans "Définition", choisir "Pipeline script from SCM"
-
dans "SCM", choisir "Git"
-
dans "Repository URL", coller le lien du dépôt GitLab (https://gitlab.imt-atlantique.fr/f21munie/project_jenkins_php.git)
...
...
@@ -124,5 +125,27 @@ http://localhost:8080
-
vous pouvez le sélectionner pour afficher ses résultats
-
vous pouvez visualiser le pipeline graphiquement en sélectionnant "Open Blue Ocean" puis le pipeline exécuté
## Accès à la registry
-
Accéder à la registry
```
sh
http://localhost:8082/
```
-
Sélectionner "checktva"
## Utiliser l'image de livraison
```
sh
docker pull localhost:8082/checktva:<TAG>
```
> ex : docker pull localhost:8082/checktva:1
> 1: Pulling from checktva
> Digest: sha256:54e1fce771c2305dce96c1a1aaa7f4ac96f1c4e0e4bed993098541890ad69a71
> Status: Downloaded newer image for localhost:8082/checktva:1
> localhost:8082/checktva:1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment