Have you tried https://www.jenkins.io/doc/book/pipeline/syntax/#options
options { disableConcurrentBuilds() }
On Friday, 17 September 2021 at 18:35:02 UTC+2 [email protected] wrote:
> I want default workspace should be working instead of @2. How can I
> achieve that.
>
> Thanks,
> Lalchand
>
> On Fri, 17 Sep, 2021, 19:14 'Dirk Heinrichs' via Jenkins Users, <
> [email protected]> wrote:
>
>> Am Freitag, dem 17.09.2021 um 01:14 -0700 schrieb Lalchand Rajak:
>>
>> I have a job running in Jenkins and It's creating a workspace with a job
>> name@2 or sometimes with @3. Can any one help why this is happening?.
>>
>>
>> Because you have multiple builds of that job running at the same time.
>> You don't want them to build in the same workspace, do you?
>>
>> Bye...
>>
>> Dirk
>>
>> --
>>
>> *Dirk Heinrichs*
>> Senior Systems Engineer, Delivery Pipeline
>> OpenText ™ Discovery | Recommind
>> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
>> *Email*: [email protected]
>> *Website*: www.recommind.de
>> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan,
>> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
>> This e-mail may contain confidential and/or privileged information. If
>> you are not the intended recipient (or have received this e-mail in error)
>> please notify the sender immediately and destroy this e-mail. Any
>> unauthorized copying, disclosure or distribution of the material in this
>> e-mail is strictly forbidden
>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
>> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
>> Weitergabe dieser Mail sind nicht gestattet.
>>
>> --
>> 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/d1148e47a9d8cdde0f9366bbbb7657b5a509e99e.camel%40opentext.com
>>
>> <https://groups.google.com/d/msgid/jenkinsci-users/d1148e47a9d8cdde0f9366bbbb7657b5a509e99e.camel%40opentext.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/b841e13c-859b-4b9b-9838-01a5b8065870n%40googlegroups.com.