Hi Sriram,

I am following same
https://docs.gauge.org/execution.html?os=macos&language=javascript&ide=vscode#configuring-table-data-per-environment
doc but getting parse error.Below are the setting i have done:

1. Added below property in default.properties file
gauge_data_dir = /resources/q1unit

and rest of the path is given in spec file as q1unit is environment in my
case which is changing.

Gauge is not able to find file and giving parse error.

Thanks and regards,
Sunaina




On Mon, Nov 8, 2021 at 12:36 PM Sriram Narayanan <[email protected]>
wrote:

>
>
> On Mon, Nov 8, 2021 at 2:53 PM Sunaina Awadhiya <[email protected]>
> wrote:
>
>> Hi Jason,
>>
>> Thanks for response but i have tried adding "gauge_data_dir" in env
>> java.properties file but i am getting parse error. could you please help.
>>
>
> Could you see if the example give here is of help:
> https://docs.gauge.org/execution.html?os=macos&language=javascript&ide=vscode#configuring-table-data-per-environment
>
> Essentially, that doesn't use java.properties. You have the ability to
> specify a default environment properties, as well as per environment data
> directories.
>
>
>
>
>
>>
>> On Tue, Nov 2, 2021 at 9:20 PM Jason Smyth <[email protected]>
>> wrote:
>>
>>> Hello,
>>>
>>> Would using an Environment Variable work?
>>>
>>> You could set the variable either in GoCD at the Environment or Pipeline
>>> level, or on the Agent itself.
>>>
>>> Hope this helps,
>>> Jason
>>>
>>>
>>> On Tuesday, 2 November 2021 at 07:27:53 UTC-4 [email protected] wrote:
>>>
>>>> Is there a way to use CSV based on condition?
>>>>
>>>> My scenario is as below:
>>>> i m using "Table" tab for csv
>>>> have same csv in 2 location but csv path need to take based on
>>>> environment
>>>>
>>>>
>>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "go-cd" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/go-cd/VlUyIEjwCec/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/go-cd/6d749a47-dbf3-46c6-9a5b-435135c95565n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/go-cd/6d749a47-dbf3-46c6-9a5b-435135c95565n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> Sunaina Awadhiya
>> Bangalore
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "go-cd" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/go-cd/CA%2B7Tbj%2BS1wwdYDoQtqUsaPMmpNqBZbo4CK0OMtK%2BO6sKkT0q5Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/go-cd/CA%2B7Tbj%2BS1wwdYDoQtqUsaPMmpNqBZbo4CK0OMtK%2BO6sKkT0q5Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/CANiY96a90EPLvfP_nSqiVuyBbPkmNkT5a6Oz-3pgYVR41zTeuw%40mail.gmail.com
> <https://groups.google.com/d/msgid/go-cd/CANiY96a90EPLvfP_nSqiVuyBbPkmNkT5a6Oz-3pgYVR41zTeuw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Sunaina Awadhiya
Bangalore

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CA%2B7TbjLC58VRm79Hqx7QOTKmZrScpfNNSnfy755hXRvh_rJqxw%40mail.gmail.com.

Reply via email to