EN-0001 - add new stages

This commit is contained in:
Arne Teuke
2021-08-05 16:04:10 +02:00
parent f14bc2d1bb
commit bd1d7ecc67
5 changed files with 57 additions and 4 deletions

31
Jenkinsfile vendored
View File

@@ -70,19 +70,44 @@ 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"
'''
}
}
<<<<<<< HEAD
stage('SonarScan') {
steps {
sh '''
/opt/sonar-scanner/bin/sonar-scanner \
-Dsonar.projectKey=cd_apache \
-Dsonar.sources=. \
-Dsonar.host.url=http://sonarqube.confdroid.com \
-Dsonar.login=f4d68d1f43370b34439eee7fbf5e2b6182cf449c
'''
}
}
stage('create Puppet documention') {
steps {
sh '/opt/puppetlabs/bin/puppet strings'
}
}
=======
>>>>>>> fff4fbb07cecdaeee187b4566e948ac1794dc6e8
stage('update repo') {
steps {
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {