diff --git a/.oniro-ci/test-generic.yaml b/.oniro-ci/test-generic.yaml
index 80024d0928c680e7e70cfb60e810cabb35989b73..d43bb57b25c1b4eb0baf1f4fc38cf57076b65ef9 100644
--- a/.oniro-ci/test-generic.yaml
+++ b/.oniro-ci/test-generic.yaml
@@ -73,9 +73,9 @@
       for job_def in $(find lava_jobs/ -name "*.yaml"); do
         echo $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN"  --form "backend=oniro_lava" --form "definition=@${job_def}"
         curl $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN"  --form "backend=oniro_lava" --form "definition=@${job_def}"
-      # Attach a callback to this build to trigger the lava-report job
-      curl -X POST /api/build/$CI_PIPELINE_ID/callbacks/ -F "callback_url=$CALLBACK_URL"
       done
+      # Attach a callback to this build to trigger the lava-report job
+      curl -X POST $CI_SQUAD_INSTANCE/api/build/$CI_PIPELINE_ID/callbacks/ -F "callback_url=$CALLBACK_URL"
   artifacts:
     paths:
       - lava_jobs/*.yaml