add new tasks

This commit is contained in:
Arne Teuke
2021-10-20 17:18:04 +02:00
parent 19987c003a
commit c5ee37fedc
28 changed files with 212 additions and 3381 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_selinux \
-Dsonar.sources=. \
-Dsonar.host.url=http://sonarqube.confdroid.com \
-Dsonar.login=f4d68d1f43370b34439eee7fbf5e2b6182cf449c
'''
}
}
stage('create Puppet documention') {
steps {
sh '/opt/puppetlabs/bin/puppet strings'