'gitlab CI/CD xxx.tmp/TRIGGER_PAYLOAD: No such file or directory

On my window computer, I use git bash to register and start gitlab runner. gitlab-runner.exe stored in C:Runner directory. I open git-bash terminal, cd /c/Runner to register and run gitlab runner as following: enter image description here

If I use CI/CD>>Schedules UI to start pipelines, everything works fine. But when I use trigger command like following, pipeline job failed.

curl -X POST \
     -F token=xxxxxxx \
     -F ref=develop \
     http://git.xxxxxxxxx/trigger/pipeline

Error message is: enter image description here

It seems that “/c/Runner/C:/Runner/builds...” is a wrong path. Does anyone know how to fix it? Thank you very much.

BTW: For some reason, I have to use bash terminal on window to start gitlab-runner.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source