diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b1867c67b09358ccb70c1c0b09afe099afdf6120..32144f47568a793e9f7bf4ec2e772ccc734a1bc5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,7 @@ stages:          # List of stages for jobs, and their order of execution
 build-job:       # This job runs in the build stage, which runs first.
   stage: build
   script:
-    - ant build
+    - javac build.xml
   artifacts:
     paths:
       - ./build.xml.*