added new Jenkins test to check for unwanted UTF8 files

This commit is contained in:
Arne Teuke
2017-07-11 17:31:45 +01:00
parent df0edc483d
commit 9b646162ae
2 changed files with 9 additions and 1 deletions

7
Jenkinsfile vendored
View File

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

View File

@@ -1,6 +1,6 @@
|Repo Name| version | Build Status|
|---|---|---|---|
|`cd_apache`| 0.0.1.2 | [![Build Status](https://jenkins.confdroid.com/buildStatus/icon?job=cd_apache)](https://jenkins.confdroid.com/job/cd_apache/)|
|`cd_apache`| 0.0.1.3 | [![Build Status](https://jenkins.confdroid.com/buildStatus/icon?job=cd_apache)](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/)