cancel
Showing results for 
Search instead for 
Did you mean: 

how i can add any property from jenkins in local.proeprties as like db.url? Is it possible to do so?

Former Member
0 Kudos

how i can add any property from jenkins in local.proeprties as like db.url? Is it possible to do so?

Former Member
0 Kudos

Please help !!

Accepted Solutions (0)

Answers (2)

Answers (2)

geffchang
Active Contributor
0 Kudos

Jenkins allows you run shell or Windows commands.

For a Linux environment, you could use the sed command to modify contents of a line, such as db.url.

Former Member
0 Kudos

Thanks Geff for the answer . Actually I need to encrypt my DB password and I am wondering what will be the proper approach for it . I thought of using some technique to modify the properties when it get loaded .

0 Kudos

You can try to create a web service in Hybris to call Config.setParameter(key, value), and call the web service from Jenkins.