EN-0001 - add new stages
This commit is contained in:
31
Jenkinsfile
vendored
31
Jenkinsfile
vendored
@@ -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']) {
|
||||
|
||||
Reference in New Issue
Block a user