I think you can use the "customWorkspace" option.
https://www.jenkins.io/doc/book/pipeline/syntax/

I use the declarative and scripted pipelines, so I don't know if there is
that option in freestyle too.

Cheers,
Gianluca.


Il giorno gio 24 set 2020 alle ore 15:33 jesus fernandez <
[email protected]> ha scritto:

> I am quite new to Jenkins, I have been learning on my own, I have a
> working freestyle project that I want to convert to pipeline now, I have
> the script (at least I think) but I do not know what to add to make it use
> the existing workspace from the freestyle job so when pulling from the SCM
> does not have to download the whole project again as it is 150gb. I have
> look into the declarative pipeline documentation what I have not found
> anything on this regard
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" 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/jenkinsci-users/2b593d9a-b949-4b81-a0a7-4b3272a01c60n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/2b593d9a-b949-4b81-a0a7-4b3272a01c60n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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/jenkinsci-users/CAPddqDWzeyYgFhQpXhDZLew1ousvjmfzqKPctJkprTu%2BbDwe7g%40mail.gmail.com.

Reply via email to