Specify URL target through newman CLI

I’m trying to integrate Newman into Jenkins. Thing is, the URL endpoint is created during the runtime as part of the CI build. Newman needs to run tests on the URL which is generated only Jenkins created the endpoint.

With Newman, how can I specify the endpoint target URL using the CLI?

Thanks ahead!

You can pass it by environment variable as parameter for newman, which of course needs to be set in URL in your collection.