diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7afb4467ef7b38ea78ef27ad4fdf5b877c1a52e2..686e6b4a1705e8761a48dc45cf66706d64ed502a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,7 @@ variables:
   DEBUG: 'TRUE'
   SOURCE_FOLDER: "."
   CPPCHECK_OPTIONS: " --enable=all --suppress=missingIncludeSystem --suppress=unusedFunction --suppress=unreadVariable --suppress=variableScope"
-  RUN_CPD: "/home/user/pmd-bin-6.19.0/bin/run.sh cpd --minimum-tokens 300 --language c --exclude ./test/cmocka --files"
+  CPD_OPTIONS: " --minimum-tokens 300 --language c --exclude ./test/cmocka --files"
 
 run_compile_test:
     stage: compile_test