update Jenkinsfile and Readme
This commit is contained in:
27
Jenkinsfile
vendored
27
Jenkinsfile
vendored
@@ -17,7 +17,7 @@ pipeline {
|
||||
}
|
||||
|
||||
options {
|
||||
gitLabConnection('sourcecode.confdroid.com')
|
||||
gitLabConnection('gitlab.confdroid.com')
|
||||
}
|
||||
|
||||
stages {
|
||||
@@ -64,36 +64,19 @@ 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_apache \
|
||||
-Dsonar.sources=. \
|
||||
-Dsonar.host.url=http://sonarqube.confdroid.com \
|
||||
-Dsonar.login=f4d68d1f43370b34439eee7fbf5e2b6182cf449c
|
||||
-Dsonar.host.url=https://sonarqube.confdroid.com \
|
||||
-Dsonar.token=sqa_aca21cc41336d0f31987ed196ccfb9be55ded774
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('create Puppet documention') {
|
||||
stage('create Puppet documentation') {
|
||||
steps {
|
||||
sh '/opt/puppetlabs/bin/puppet strings'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user