lint params

This commit is contained in:
Arne Teuke
2025-03-02 16:28:57 +01:00
parent 7341c24bc9
commit f09b452830
17 changed files with 165 additions and 275 deletions

23
Jenkinsfile vendored
View File

@@ -64,28 +64,11 @@ pipeline {
}
}
stage('markdown-lint') {
steps {
sh '''
source /opt/rh/rh-ruby27/enable
mdl README.md
'''
}
}
stage('spell check') {
steps {
sh '''
mdspell -r -n -a "**/*.md"
'''
}
}
stage('SonarScan') {
stage('SonarScan') {
steps {
sh '''
/opt/sonar-scanner/bin/sonar-scanner \
-Dsonar.projectKey=cd_haproxy \
-Dsonar.projectKey=haproxy_cd \
-Dsonar.sources=. \
-Dsonar.host.url=https://sonarqube.confdroid.com \
-Dsonar.token=squ_af3fb66bbbcccf239ffe9393a5e70874f054be7a
@@ -93,7 +76,7 @@ pipeline {
}
}
stage('create Puppet documention') {
stage('create Puppet documentation') {
steps {
sh '/opt/puppetlabs/bin/puppet strings'
}