diff --git a/packages/web-twig/Jenkinsfile-qa.groovy b/packages/web-twig/Jenkinsfile-qa.groovy deleted file mode 100644 index b805532e5a..0000000000 --- a/packages/web-twig/Jenkinsfile-qa.groovy +++ /dev/null @@ -1,103 +0,0 @@ -#!/usr/bin/env groovy - -pipeline { - options { - disableConcurrentBuilds() - buildDiscarder(logRotator(daysToKeepStr: '7', numToKeepStr: '3', artifactNumToKeepStr: '3')) - } - - parameters { - string(name: 'GIT_BRANCH', defaultValue: 'origin/master') - } - - environment { - GIT_BRANCH_LOCAL = sh ( - script: "echo ${GIT_BRANCH} | sed -e 's|origin/||g'", - returnStdout: true - ).trim() - sonarScannerHome = tool 'SonarQubeScanner' - } - - agent any - - stages { - stage('Normal deps checks') { - stages { - stage('Prepare') { - steps { - step([$class: 'StashNotifier', prependParentProjectKey: true]) - sh "composer install" - sh "mkdir -p coverage" - } - } - - stage('PHPStan') { - steps { - sh "composer run phpstan" - } - } - - stage('UT') { - steps { - sh "composer run phpunit:coverage"; - } - - post { - success { - step([ - $class: "CloverPublisher", - cloverReportDir: "coverage", - cloverReportFileName: "clover.xml", - healthyTarget: [methodCoverage: 70, conditionalCoverage: 80, statementCoverage: 80], - unhealthyTarget: [methodCoverage: 50, conditionalCoverage: 50, statementCoverage: 50], - failingTarget: [methodCoverage: 0, conditionalCoverage: 0, statementCoverage: 0] - ]) - } - } - } - - stage('Coding style') { - steps { - sh "composer run ecs" - } - } - } - } - - stage('lowest deps checks') { - stages { - stage('Prepare') { - steps { - sh "composer --prefer-lowest --prefer-stable update" - } - } - - stage('UT') { - steps { - sh "composer run phpunit"; - } - } - } - } - - stage('SonarQube analysis') { - steps { - script { - withSonarQubeEnv('sonarqube') { - sh "${sonarScannerHome}/bin/sonar-scanner -Dsonar.branch.name=${GIT_BRANCH_LOCAL}" - } - } - } - } - } - - post { - always { - script { - currentBuild.result = currentBuild.result ?: 'SUCCESS' - step([$class: 'StashNotifier', prependParentProjectKey: true]) - cleanWs() - } - } - } -} \ No newline at end of file diff --git a/packages/web-twig/README.md b/packages/web-twig/README.md index e2fb25a283..86c72a860f 100644 --- a/packages/web-twig/README.md +++ b/packages/web-twig/README.md @@ -1,6 +1,5 @@ # Spirit Web Twig Bundle -![QA](https://jenkins-seduo-ci.prod.internal.lmc/job/Spirit-web-twig-bundle-qa/badge/icon?subject=QA&link=https://jenkins-seduo-ci.prod.internal.lmc/job/Spirit-web-twig-bundle-qa/) ![Version](https://img.shields.io/badge/version-1.8.0-blue.svg) This is a Symfony bundle with Twig implementation of [Spirit Design System] components, extended with HTML-like syntax.