Jenkins Uipath integration invalid credentials

Hi, I have been trying to integrate Uipath with Jenkins and github but I keep getting this “Invalid Credential” message. So far I have created two external applications for my tenant with different scopes (Orchestrator and Test). Both Application ID seem to fail so far. I wonder if I am missing something.

The cloning of the repository is working well and packaging of the project as well. But it fails when it has to connect to the orchestrator.

My JenkinsFIle :
image

Any ideas?