We are trying to set up Jenkins to upload sourcemaps, using the webpack plugin, for a React project. We get a “Source Map Upload Report” and also we can see the de-minified code in any reported error, so that is good.
However, there are no artifacts in the GUI. We can see a new release is created under Settings > Projects > [our project] > Source Maps, but no artifacts. Shouldn’t they be found there?
Can the sourcemaps somehow be coming from the server that generated the error? Because, we want to remove them from that deployment.
==== Logs below: ====
Found 2 release files
Analyzing 2 sources
Adding source map references
Bundled 2 files for upload
Uploaded release files to Sentry
File upload complete
Source Map Upload Report
~/main.2e4b5f658703e1f80ec188.8.131.52.min.js (sourcemap at main.2e4b5f658703e1f80ec184.108.40.206.min.js.map)
Version: webpack 4.44.1
Built at: 11/17/2020 2:46:28 PM
Asset Size Chunks Chunk Names
index.html 2.75 KiB [emitted]
main.2e4b5f658703e1f80ec220.127.116.11.min.js 5.39 MiB 0 [emitted] [immutable] [big] main
main.2e4b5f658703e1f80ec18.104.22.168.min.js.map 12.5 MiB 0 [emitted] [dev] main
Entrypoint main [big] = main.2e4b5f658703e1f80ec22.214.171.124.min.js main.2e4b5f658703e1f80ec126.96.36.199.min.js.map