sync repo

This commit is contained in:
Arne Teuke
2021-09-13 13:51:42 +02:00
parent e85620044e
commit effaee4c69
6 changed files with 140 additions and 5 deletions

28
Jenkinsfile vendored
View File

@@ -70,13 +70,35 @@ pipeline {
}
}
stage('update repo structure') {
stage('markdown-lint') {
steps {
sh '''rm -Rf REPOSTRUCTURE.md
echo "$(tree --dirsfirst --charset=ascii .)" > REPOSTRUCTURE.md'''
sh '''
source /opt/rh/rh-ruby27/enable
mdl README.md
'''
}
}
stage('spell check') {
steps {
sh '''
mdspell -r -n -a "**/*.md"
'''
}
}
stage('SonarScan') {
steps {
sh '''
/opt/sonar-scanner/bin/sonar-scanner \
-Dsonar.projectKey=cd_nagios \
-Dsonar.sources=. \
-Dsonar.host.url=http://sonarqube.confdroid.com \
-Dsonar.login=f4d68d1f43370b34439eee7fbf5e2b6182cf449c
'''
}
}
stage('create Puppet documention') {
steps {
sh '/opt/puppetlabs/bin/puppet strings'