update Jenkinsfile and Readme

This commit is contained in:
Arne Teuke
2025-05-05 14:29:35 +02:00
parent baef992005
commit 8e405de7fa
5 changed files with 5 additions and 59 deletions

27
Jenkinsfile vendored
View File

@@ -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'
}