My php project has a huge size.material checked in go-agent home 
path(/usr/share/go-agent/).so everytime pipeline run we need to copy all my 
files/folder from go-agent home 
path(/usr/share/go-agent/lib/pipelines/pipeline name )  to my project 
directory (var/www/html).is this correct approach ? but does it need more 
storage.
On Wednesday, August 9, 2023 at 9:40:15 AM UTC+5:30 Vijayakumaran A. wrote:

> Hi thanks for the response,Here i have attached my pipeline code.
>
> On Wed, Aug 9, 2023 at 9:26 AM 'Ashwanth Kumar' via go-cd <
> [email protected]> wrote:
>
>> It's hard to debug why it is not reflecting without having the entire 
>> pipeline spec or a screenshot of all the tasks that happen. Having said 
>> that, based on your note it seems like you're doing `git pull` inside the 
>> stage which would defeat the purpose of pipeline materials / tasks. You 
>> should instead scp or ftp the contents of the php project to 
>> `/var/www/html` folder on the remote server for each run.
>>
>> Thanks,
>>
>> On Wed, 9 Aug 2023 at 09:22, Vijayakumaran A. <[email protected]> 
>> wrote:
>>
>>> Hi Team,
>>>
>>> I have one requirement, we have a php application,Whenever a developer 
>>> pushes their code to a repository, gocd automatically triggers the pipeline 
>>> and deploy the latest code to the php project directory.
>>>
>>> example : 
>>> php project dir : /var/ww/html 
>>>
>>> Whenever pushes happen my pipeline triggers and deploy the changes to 
>>> the php project dir.
>>>
>>> I have set up one stage with one job 
>>> cd /var/www/html && git pull is working fine.But when i use trigger with 
>>> option to deploy the previous commit my previous changes are not 
>>> reflected to my php project directory.
>>>
>>> what is the step i need to make this work..im new to gocd please let me 
>>> know if i did any mistake or need to change anything.
>>>
>>> -- 
>>> 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/cbd2d65b-8371-43e9-bf35-10c5482dc682n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/go-cd/cbd2d65b-8371-43e9-bf35-10c5482dc682n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> -- 
>>
>> Ashwanth Kumar / ashwanthkumar.in
>>
>> -- 
>>
> 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/xHSb78j0yeM/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/CAD9m7CzShfqy5GN9XXD0hSmw4Yh7FFZraOM1MXu-CBXqJNE95g%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/CAD9m7CzShfqy5GN9XXD0hSmw4Yh7FFZraOM1MXu-CBXqJNE95g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
>
> [image: Email Signature.png]
>
> *VIJAYAKUMARAN A *
>
> *Technical Operations Engineer *
> +919788372454 <+91%2097883%2072454>
>
> *[email protected]*
>
> http://www.praniontech.com
>
>

-- 
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/ad490b15-8f69-48c3-9dc8-a2bdb6a58450n%40googlegroups.com.

Reply via email to