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 {
|
options {
|
||||||
gitLabConnection('sourcecode.confdroid.com')
|
gitLabConnection('gitlab.confdroid.com')
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
@@ -64,36 +64,19 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('markdown-lint') {
|
stage('SonarScan') {
|
||||||
steps {
|
|
||||||
sh '''
|
|
||||||
source /opt/rh/rh-ruby27/enable
|
|
||||||
mdl README.md
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('spell check') {
|
|
||||||
steps {
|
|
||||||
sh '''
|
|
||||||
mdspell -r -n -a "**/*.md"
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('SonarScan') {
|
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
/opt/sonar-scanner/bin/sonar-scanner \
|
/opt/sonar-scanner/bin/sonar-scanner \
|
||||||
-Dsonar.projectKey=cd_apache \
|
-Dsonar.projectKey=cd_apache \
|
||||||
-Dsonar.sources=. \
|
-Dsonar.sources=. \
|
||||||
-Dsonar.host.url=http://sonarqube.confdroid.com \
|
-Dsonar.host.url=https://sonarqube.confdroid.com \
|
||||||
-Dsonar.login=f4d68d1f43370b34439eee7fbf5e2b6182cf449c
|
-Dsonar.token=sqa_aca21cc41336d0f31987ed196ccfb9be55ded774
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('create Puppet documention') {
|
stage('create Puppet documentation') {
|
||||||
steps {
|
steps {
|
||||||
sh '/opt/puppetlabs/bin/puppet strings'
|
sh '/opt/puppetlabs/bin/puppet strings'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,8 +93,6 @@ All files and directories are configured with correct selinux context. If selinu
|
|||||||
* Puppet Parser
|
* Puppet Parser
|
||||||
* ERB Template Parser
|
* ERB Template Parser
|
||||||
* Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files)
|
* Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files)
|
||||||
* Markdown-lint
|
|
||||||
* Spellcheck
|
|
||||||
* Sonar Quality Gate
|
* Sonar Quality Gate
|
||||||
|
|
||||||
## Contact Us
|
## Contact Us
|
||||||
|
|||||||
Reference in New Issue
Block a user