Jenkins Build

I’m creating a Jenkins job to build and compile my teams code. Within our code we’re using the deepstream plugin that is integrated with CUDA. The current workflow in the CI/CD pipeline is as follows:

  • Pull code from git hub
  • Create docker container and do all the building and compiling within that container
  • Extract executable
  • Containerize executable and push to docker repo

The problem is that when building the code . I’m getting the following error

/opt/nvidia/deepstream/deepstream-4.0/lib/ error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status

I’ve tried to use nvidia docker but I need to be connected nivida driver. I’m pretty much stuck and I’m open to all possible suggestions/designs.


This looks like an architecture issue.
It’s recommended to check if the executable from the GitHub can be run on the ARM system or not first.