Grails 3 war always in dev environment on Tomcat -


i using grails 3.0.1 , have standard environments defined. when deploy app on tomcat 7 via jenkins, deploys in development mode , never in production since use grails 3.

the thing have changed in build.gradle following line:

provided "org.springframework.boot:spring-boot-starter-tomcat" 

this build config in jenkins.

my jenkins build config

building , deployment works environment. know because not touches mysql @ , have in index.gsp shows me

    ${grails.util.environment.current.name} 

do have advice me?

edit: i've tried until now:

  • using "prod war" instead of "war" target


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -