[JIRA] (JENKINS-60084) The WORKSPACE variable is not correct when concurrent build

5 views
Skip to first unread message

bale836@163.com (JIRA)

unread,
Nov 15, 2019, 2:35:04 AM11/15/19
to jenkinsc...@googlegroups.com
hir bale updated an issue
 
Jenkins / Bug JENKINS-60084
The WORKSPACE variable is not correct when concurrent build
Change By: hir bale
Summary: The WORKSPACE variable is not corrent correct when concurrent build
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

bale836@163.com (JIRA)

unread,
Nov 16, 2019, 2:04:03 AM11/16/19
to jenkinsc...@googlegroups.com
hir bale commented on Bug JENKINS-60084
 
Re: The WORKSPACE variable is not correct when concurrent build

My mistake:

  I specify the agent for global:

  agent { lable 'master' }

  then in the stage, i specify the agent as one parameter:

  stage ('abc') {

    agent {label "${Node_Label}"}

    steps

{         XXXXX     }

  }

 

  the steps of stage "abc" run in one new workspace(XXXX/workspace@2), even the parameter "Node_Label" is "master”. this is not reference the concurrent building.

bale836@163.com (JIRA)

unread,
Nov 16, 2019, 2:05:04 AM11/16/19
to jenkinsc...@googlegroups.com
hir bale closed an issue as Not A Defect
 
Change By: hir bale
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages