Intégration d'outils de validation de qualité et pipeline Jenkins #1

Merged
afornerot merged 5 commits from continuous-integration into master 2022-09-26 09:44:30 +02:00
Owner

Modifications principales

  • Ajout d'un fichier Makefile avec les tâches suivantes:
    • make install-git-hooks - Configuration des hooks git de validation des commits
    • make deps - Installation des dépendances de développement
    • make phpstan - Exécution de phpstan sur la base de code
    • make php-cs-fixer - Exécution de php-cs-fixer sur la base de code
  • Ajout du pipeline de validation des applications Symfony (fichier Jenkinsfile et hooks .jenkins/*.groovy)
## Modifications principales - Ajout d'un fichier `Makefile` avec les tâches suivantes: - `make install-git-hooks` - Configuration des hooks git de validation des commits - `make deps` - Installation des dépendances de développement - `make phpstan` - Exécution de [phpstan](https://phpstan.org/) sur la base de code - `make php-cs-fixer` - Exécution de [php-cs-fixer](https://github.com/FriendsOfPhp/PHP-CS-Fixer) sur la base de code - Ajout du pipeline de validation des applications Symfony (fichier `Jenkinsfile` et hooks `.jenkins/*.groovy`)
wpetit added 2 commits 2022-09-21 12:21:50 +02:00
Cadoles/nineskeletor/pipeline/head There was a failure building this commit Details
Cadoles/nineskeletor/pipeline/pr-master This commit looks good Details
0ddb71006f
chore: add jenkins validation pipeline
Owner

Symfony Security Check Report

No packages have known vulnerabilities.

Note that this checker can only detect vulnerabilities that are referenced in the security advisories database.
Execute this command regularly to check the newly discovered vulnerabilities.

Symfony Security Check Report ============================= No packages have known vulnerabilities. Note that this checker can only detect vulnerabilities that are referenced in the security advisories database. Execute this command regularly to check the newly discovered vulnerabilities.
Owner

Test report

PHP CS Fixer

Overview

State Total
Passed 0
Skipped 0
Failed 9
Error 0

Total duration: 0s

See details
Status Name Class
Cadoles_nineskeletor_PR-1/src/Service/AppSession
Cadoles_nineskeletor_PR-1/src/Entity/Registration
Cadoles_nineskeletor_PR-1/src/Entity/Whitelist
Cadoles_nineskeletor_PR-1/src/Entity/User
Cadoles_nineskeletor_PR-1/src/Entity/Niveau01
Cadoles_nineskeletor_PR-1/src/Entity/Niveau02
Cadoles_nineskeletor_PR-1/src/Entity/Group
Cadoles_nineskeletor_PR-1/src/Entity/UserModo
Cadoles_nineskeletor_PR-1/src/Entity/UserGroup

Errors

`Cadoles_nineskeletor_PR-1/src/Service/AppSession`

Output

applied fixers:
---------------
* braces```

</details>


<details>
  <summary>`Cadoles_nineskeletor_PR-1/src/Entity/Registration`</summary>

**Output** 

applied fixers:

  • phpdoc_separation```
`Cadoles_nineskeletor_PR-1/src/Entity/Whitelist`

Output

applied fixers:
---------------
* phpdoc_separation```

</details>


<details>
  <summary>`Cadoles_nineskeletor_PR-1/src/Entity/User`</summary>

**Output** 

applied fixers:

  • phpdoc_separation```
`Cadoles_nineskeletor_PR-1/src/Entity/Niveau01`

Output

applied fixers:
---------------
* phpdoc_separation```

</details>


<details>
  <summary>`Cadoles_nineskeletor_PR-1/src/Entity/Niveau02`</summary>

**Output** 

applied fixers:

  • phpdoc_separation```
`Cadoles_nineskeletor_PR-1/src/Entity/Group`

Output

applied fixers:
---------------
* phpdoc_separation```

</details>


<details>
  <summary>`Cadoles_nineskeletor_PR-1/src/Entity/UserModo`</summary>

**Output** 

applied fixers:

  • phpdoc_separation```
`Cadoles_nineskeletor_PR-1/src/Entity/UserGroup`

Output

applied fixers:
---------------
* phpdoc_separation```

</details>





# Test report ## PHP CS Fixer ### Overview | State | Total | |-------|-------| | Passed | 0 | | Skipped | 0 | | Failed | 9 | | Error | 0 | **Total duration**: 0s <details> <summary>See details</summary> | Status | Name | Class | |--------|------|-------| | &#10799; | `Cadoles_nineskeletor_PR-1/src/Service/AppSession` || | &#10799; | `Cadoles_nineskeletor_PR-1/src/Entity/Registration` || | &#10799; | `Cadoles_nineskeletor_PR-1/src/Entity/Whitelist` || | &#10799; | `Cadoles_nineskeletor_PR-1/src/Entity/User` || | &#10799; | `Cadoles_nineskeletor_PR-1/src/Entity/Niveau01` || | &#10799; | `Cadoles_nineskeletor_PR-1/src/Entity/Niveau02` || | &#10799; | `Cadoles_nineskeletor_PR-1/src/Entity/Group` || | &#10799; | `Cadoles_nineskeletor_PR-1/src/Entity/UserModo` || | &#10799; | `Cadoles_nineskeletor_PR-1/src/Entity/UserGroup` || </details> <br /> #### Errors <details> <summary>`Cadoles_nineskeletor_PR-1/src/Service/AppSession`</summary> **Output** ``` applied fixers: --------------- * braces``` </details> <details> <summary>`Cadoles_nineskeletor_PR-1/src/Entity/Registration`</summary> **Output** ``` applied fixers: --------------- * phpdoc_separation``` </details> <details> <summary>`Cadoles_nineskeletor_PR-1/src/Entity/Whitelist`</summary> **Output** ``` applied fixers: --------------- * phpdoc_separation``` </details> <details> <summary>`Cadoles_nineskeletor_PR-1/src/Entity/User`</summary> **Output** ``` applied fixers: --------------- * phpdoc_separation``` </details> <details> <summary>`Cadoles_nineskeletor_PR-1/src/Entity/Niveau01`</summary> **Output** ``` applied fixers: --------------- * phpdoc_separation``` </details> <details> <summary>`Cadoles_nineskeletor_PR-1/src/Entity/Niveau02`</summary> **Output** ``` applied fixers: --------------- * phpdoc_separation``` </details> <details> <summary>`Cadoles_nineskeletor_PR-1/src/Entity/Group`</summary> **Output** ``` applied fixers: --------------- * phpdoc_separation``` </details> <details> <summary>`Cadoles_nineskeletor_PR-1/src/Entity/UserModo`</summary> **Output** ``` applied fixers: --------------- * phpdoc_separation``` </details> <details> <summary>`Cadoles_nineskeletor_PR-1/src/Entity/UserGroup`</summary> **Output** ``` applied fixers: --------------- * phpdoc_separation``` </details>
Owner

Rapport PHPStan


 [OK] No errors                                                                 


## Rapport PHPStan ``` [OK] No errors ```
afornerot added 1 commit 2022-09-23 14:53:55 +02:00
Cadoles/nineskeletor/pipeline/pr-master This commit looks good Details
86b11372e7
fix(continuous-integration): correction point phpstan
afornerot added 1 commit 2022-09-23 15:34:12 +02:00
Cadoles/nineskeletor/pipeline/pr-master This commit looks good Details
5f3cc51f5c
fix(continuous-integration): correction point phpstan de level 1
afornerot added 1 commit 2022-09-23 16:14:22 +02:00
Cadoles/nineskeletor/pipeline/pr-master This commit looks good Details
b78f54b76c
fix(continuous-integration): correction php-cs-fixer
afornerot merged commit 89cb0433c0 into master 2022-09-26 09:44:30 +02:00
afornerot deleted branch continuous-integration 2022-09-26 09:44:51 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Cadoles/nineskeletor#1
No description provided.