Trying to pass two build arguments in Jenkinsfile.
Works with single --build-arg:
app = docker.build("myimg:${Version}", "--build-arg VERSION=${Version} --no-cache ."
But doesn't work with several:
app = docker.build("myimg:${Version}", "--build-arg VERSION=${Version} --build-arg CODEARTIFACT_TOKEN=${CODEARTIFACT_TOKEN} --no-cache ."
Output Error: "docker build" requires exactly 1 argument.
How can I pass two or more build arguments?