diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed689ba09cecaab5101a21a9f16c912c7e4e9061..e6a9e1e31cc59a366c7f14cf2329b19f2cdcdbfd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,12 +19,15 @@ before_script: pmd: stage: lint + cache: {} allow_failure: true when: always before_script: + - 'apt-get download unzip' + - 'echo $PATH' + - 'ls $HOME' - 'export VERSION="6.40.0"' - 'wget "https://github.com/pmd/pmd/releases/download/pmd_releases%2F$VERSION/pmd-bin-$VERSION.zip"' - - 'apt-get install unzip' - 'unzip "pmd-bin-$VERSION.zip"' script: - '"pmd-bin-$VERSION/bin/run.sh" pmd -d src/main/java -f textcolor -R pmd_rules.xml 2>&1 | tee pmd.log'