Cant get the spring profile to run on bootRun

I went to my edit run/debug configurations and I am trying to the devops spring profile to run.
it still connects to the main application database.
image

image

If I build my jar and run it works as expected.
The following 1 profile is active: “devops”

Any idea what I am missing or doing wrong? Is it supported from the IDE?
Can anyone help?

Try it by putting it in the environment variables like:

spring.profiles.active=devops
1 Like

yes !! that was it!! Thank you very much !!