Hi Somshekar,
We had the same issue with our build environment and I saw that we had 2
possible solutions.
1.
https://wiki.jenkins.io/display/JENKINS/Features+controlled+by+system+properties
amongst others gives you hudson.slaves.WorkspaceList which you can change
to set a different token.
2. use a ws(){} block in your pipeline to change to a different workspace.
(for declarative Pipeline this is the customWorkspace option of the agent
keyword (see.
https://jenkins.io/doc/book/pipeline/syntax/#agent)
Since I don't control the Jenkins master in our project I used the second
approach. Especially since I am building in parallel on the same node I am
reusing the original workspace and all checked out sources and build in a
new subdirectory of the workspace.
Hope this helps.
Christian
jenkins...@googlegroups.com schrieb am 04.05.2018 07:53:42:
> --
> 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
jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/
> d/msgid/jenkinsci-users/CALbGK-pAedn1a8aeFaMYq%3DPWsG44JvjRsqaOe_f-
> zUkYLHitWQ%
40mail.gmail.com.
> For more options, visit
https://groups.google.com/d/optout.
Mit freundlichen Gruessen/Best regards,
Christian Beushausen
I S&T PD SW SWF
Interior Systems & Technology
Besucheradresse / Visitor address:
Continental Automotive GmbH
Philipsstrasse 1, 35576 Wetzlar, Germany
Rechnungsadresse / Invoice address:
Continental Automotive GmbH
Philipsstrasse 1, 35576 Wetzlar, Germany
Telefon/Phone:
+49 6441 370-9031
Mobile:
+49 151 74660227
Telefax:
+49 6441 37013-9031
E-Mail:
Christian....@continental-corporation.com
http://www.continental-automotive.com
________________________________________________________________________
Continental Automotive GmbH, Vahrenwalder Str. 9, D-30165 Hannover
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Helmut
Matschi
Geschaeftsfuehrer/Managing Director: Georg Sistermanns, Harald Stuhlmann
Sitz der Gesellschaft/Registered Office: Hannover
Registergericht/Registered Court: Amtsgericht Hannover, HRB 59424
USt.-ID-Nr./VAT-ID-No. DE814950663
________________________________________________________________________
Proprietary and confidential. Distribution only by express authority of
Continental AG or its subsidiaries.