How to use ini file in Jenkin for .NET application

13 views
Skip to first unread message

Vadivel Natarajan

unread,
Jun 21, 2016, 3:00:09 AM6/21/16
to Jenkins Developers, vadivel natarajan
Hi All,

Am very new to Jerkins. Previously we used Finalbuilder application. In that we can able to use the variable values from the ini file in finalbuilder application. 

=======Sample.ini file===========
user=sample
passwrod=1234#
path=D:\Testing\Sampletest\newproject
=========================

For example, In above ini file, user name, password, and project path are defined. i can use the same variable in finalbuilder project by loading the ini file. 

Similarly, can i use the variables and its value assigned in ini file in Jenkins application? If so, what plugin do i need to use and how to use?

Thanks in advance!!!

Regards,
Vadivel 


Oleg Nenashev

unread,
Jun 21, 2016, 8:47:10 AM6/21/16
to Jenkins Developers, vadive...@gmail.com
Hi,

The shortest way would be to convert this fine to *.properties format and then to Inject the variables into environment using the EnvInject plugin. This plugin provides a build step, which allows injecting vars from workpace files.

вторник, 21 июня 2016 г., 9:00:09 UTC+2 пользователь Vadivel Natarajan написал:
Reply all
Reply to author
Forward
0 new messages