How can I pass the PR_ID to a lifecycle job?

Hi @Melvin_Zottola,

While we figure this one out Started with Preview Environments - Bitbucket - #6 by moisesrodriguez I went ahead and made my preview environment create automatically on every PR.

However it seems the env variable is not available for the job.

I’m using it in my dockerfile like this

And I can see that indeed the env QOVERY_PULL_REQUEST_ID does exist

but not when I need it. Can you confirm this is the case? and how can we solve it.

In case it is of any help, this is the order of my job in the pipeline

And how it’s triggered