-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins: 2.76
Parameterized Remote Trigger: 3.0.5
Hello
Recently, we found sometimes Parameterized Remote Trigger Plugin will trigger remote job twice.
From the build log, we found:
Connection to remote server failed , waiting for to retry - 10 seconds until next attempt. URL: http://172.25.16.204:8080/job/clpcp/job/backend/job/test-for-backend-prod-error/buildWithParameters , parameters: version=1.0-release Retry attempt #1 out of 5 CSRF protection is disabled on the remote server. The remote job is blocked. Build #11 is already in progress (ETA:3 min 33 sec). Remote job queue number: 237
which seems the build has been triggered (Build #11), and then in the same log:
Waiting for 10 seconds until next poll. The remote job is blocked. Build #11 is already in progress (ETA:N/A). Waiting for 10 seconds until next poll. The remote job is blocked. Build #11 is already in progress (ETA:N/A). Waiting for 10 seconds until next poll. Remote build started! Remote build URL: http://172.25.16.204:8080/job/clpcp/job/backend/job/test-for-backend-prod-error/12/ Remote build number: 12 Blocking local job until remote job completes.
Build #12 also got triggered (waiting in the queue).
We are not sure whether it's due to the remote job setup, since we set the quiet period to 0, so the job will run immediately, and when the plugin checks the status, it seems treat the job as "already in progress", and trigger again after the previous build finished