Skip to content

Requirements-Gerrit

Job to verify any contribution to the papyrus-requirements

Temporarily disabled build steps are not supported by Jenkins:

Shell build step #2

#!/bin/bash
set +e
mkdir -p target

grep --exclude-dir=target --exclude-dir=.git --exclude-dir=.maven -Ilsr $'\r$' . > ./target/clrf.log
cat ./target/clrf.log
nb=$( cat ./target/clrf.log | wc -l )
echo "CRLD: $nb"
if [ $nb -gt 0 ] 
then
  echo "All End Of Line must be LF and not CRLF, have a look to ./target/clrf.log. use dos2unix utility"
  exit 1
else
  echo "End Of Line are valide"
fi