update Jenkinsfile and Readme
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
all
|
||||
rule 'MD013', :line_length => 1000
|
||||
exclude_rule 'MD036'
|
||||
30
.spelling
30
.spelling
@@ -1,30 +0,0 @@
|
||||
# markdown-spellcheck spelling configuration file
|
||||
# Format - lines begining # are comments
|
||||
# global dictionary is at the start, file overrides afterwards
|
||||
# one word per line, to define a file override use ' - filename'
|
||||
# where filename is relative to this configuration file
|
||||
Readme.md
|
||||
httpd
|
||||
sudo
|
||||
selinux
|
||||
site.pp
|
||||
nodes.pp
|
||||
cd_apache
|
||||
::
|
||||
params
|
||||
Foreman
|
||||
cd_resources
|
||||
CentOS
|
||||
Puppet
|
||||
ConfDroid
|
||||
nagios
|
||||
vHosts
|
||||
vHost
|
||||
phpMyAdmin
|
||||
phpPgAdmin
|
||||
parameterized
|
||||
erb
|
||||
Confdroid.com
|
||||
UTF_Files
|
||||
ipv4
|
||||
ipv6
|
||||
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