I'm trying to automate a DefectDojo template for Maven projects. I need to create a Product in DefectDojo instance and store the ID of the created product.
I've written a script for a job that is run ONLY ONE TIME (one pipeline when project is created, then its removed as it's useless).
Therefore, I cannot pass the ID I got to other stages using the .env artifact since the job is not run anymore.
In fact, I would like to dynamically assign PRODUCT_ID as a GitLab variable, using a job that is run once. Is this possible ?