Hi,
Thanks for your response. But how can I setup an incremental build 
pipeline? I have an msbuild daily pipeline that I want to build as fast as 
possible to get a quick feedback to the team. MSbuild is based on file 
timestamp to detect changes so as a result each run is a full rebuild 
instead of incremental. Is it possible to achieve this with GoCD?
Many thanks,
Denis

Le mercredi 26 août 2020 à 20:31:13 UTC+2, Aravind SV a écrit :

> Hello Denis,
>
> The working directory will always be cleaned using something like git 
> clean -dff (or git clean -dffx maybe) before any job starts. If you 
> really need something across runs, then you should move it out of the 
> workspace directory. However, please note that this is not recommended. One 
> of the concepts of CI is repeatability. It shouldn’t depend on the 
> environment of a previous run of a job or pipeline.
>
> The GoCD way of keeping state across stages within a pipeline (for 
> instance) is to use artifacts.
>
> Cheers,
> Aravind
>

-- 
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/a225c206-89d7-4497-91f9-524fcce388fan%40googlegroups.com.

Reply via email to