datadog-ci
datadog-ci copied to clipboard
Multiple sourcemap uploads for same version/service ?
Feature request description
I have an app with a slightly different build process for mobile and web, but they share the same JS assets underneath.
Currently the JS build is not reproducible with our setup, so we end up with assets with different names for the web/mobile build for a single version of the app (but with identical contents).
The following may already be possible so this may just be closed with a comfirmation and an addition to the docs:
Given two sourcemaps web.map.js
and mobile.map.js
which are the same but generated separately and point to a web.js
and mobile.js
. If I upload the source maps for those two separatly for a single version 1
and service app
will the second upload overwrite the first upload on Datadog ?
And if I have both those files uploaded I suppose the unminification should be working for both web and mobile apps then ?
It's a bit difficult to manually test for me now, but if it is the case it'd be interesting to write in the docs that uploads can be done in multiple use of the cli 👍
Solution
If it is not the case, I'll find a way to make sure I have the same built assets, but it'd be a much longer fix to implement on our side. And it'd be interesting to note it in the sourcemap cli documentation as well to clear up the behaviour.
Command
sourcemaps