sync repo
This commit is contained in:
28
Jenkinsfile
vendored
28
Jenkinsfile
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user