简体   繁体   中英

specifiy different gradle properties file for Jenkins

I am trying to add continuos integration for our project using Jenkins. Its a gradle project and we set some environment variables in the properties files. We have the project in SVN. I am able to retreive the project from SVN using subversion plugin for jenkins. But each developer has differnt environment variables added. How do I add one specific to jenkins?

Is there anyway to do that?

Thank you.

Copying my comment from above for anyone looking to answer this in the future:

You could put CI-specific properties in ~/.gradle/gradle.properties for the Jenkins user.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM