added new Jenkins test to check for unwanted UTF8 files
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -181,6 +181,13 @@ Changelog of Git Changelog.
|
||||
}
|
||||
}
|
||||
|
||||
stage('check for UTF-8 files') {
|
||||
steps {
|
||||
sh '''echo "$(find . -type f -exec file {} \\;)" > FileList
|
||||
grep -v ASCII FileList | grep -v git'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('show diff') {
|
||||
steps {
|
||||
sh 'git diff'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|Repo Name| version | Build Status|
|
||||
|---|---|---|---|
|
||||
|`cd_apache`| 0.0.1.2 | [](https://jenkins.confdroid.com/job/cd_apache/)|
|
||||
|`cd_apache`| 0.0.1.3 | [](https://jenkins.confdroid.com/job/cd_apache/)|
|
||||
|
||||
### Synopsis
|
||||
`Apache httpd` is a very powerful and widely used web server.
|
||||
@@ -110,6 +110,7 @@ All files and directories are configured with correct selinux context. If selinu
|
||||
* `--no-arrow_alignment-check`: this check leads to actually not having am easily readable arrow alignment, as this checks `per block`, not per class.
|
||||
* Puppet Parser
|
||||
* ERB Template Parser
|
||||
* Test for unwanted UTF8 files in the Puppet code
|
||||
|
||||
### Contact Us
|
||||
[contact Us](https://confdroid.com/contact/)
|
||||
|
||||
Reference in New Issue
Block a user