I’m using gradle & jenkins & spring boot.
I want to package my project depends on profile by passing argument like maven.
ex) mvn package -Pprofile=op
I configure my yml file by changing value of spring.profile.active
now.
But I want to change my yml spring.profile.active value by passing parameter.
ex) gradle build -Pprofile op
Is is possible? How to set my gradle script?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…