Fix conditional using env namespace at job level
Fix conditional using env namespace at job level

Issue gh-11158

spring-projects/spring-security,rwinch/spring-security,rwinch/spring-security,spring-projects/spring-security,spring-projects/spring-security,rwinch/spring-security,rwinch/spring-security,spring-projects/spring-security,rwinch/spring-security,rwinch/spring-security,spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security