-
Bug
-
Resolution: Fixed
-
Critical
-
Jenkins 2.392 (also 2.390)
pipeline 590.v6a_d052e5a_a_b_5
Pipeline: Nodes and Processes Version 1234.v019404b_3832a
This happens since updating some plugins today (27.02.2023).
I have a feeling that it might be related to JENKINS-70528 (just a guess).
For testing I used following pipeline snippled (the job's name is "work_ServerCheck"):
def exwsAll = exwsAllocate diskPoolId: 'ArchivedBuilds', path: "unmerged/work_ServerCheck"
exws (exwsAll) {
exwsPath= pwd()
println "exwsPath="+exwsPath{}
sh 'pwd'
}
This produces following output (I marked unexpected values red - they used to be equal to the green value in previous versions):
10:02:42 Running in /media/Builds/unmerged/work_ServerCheck
10:02:42 [Pipeline] {
10:02:42 [Pipeline] pwd
10:02:42 [Pipeline] echo
10:02:42 exwsPath=/rsync/JenkinsJobs/workspace/work_ServerCheck
10:02:42 [Pipeline] sh
10:02:42 + pwd
10:02:42 /rsync/JenkinsJobs/workspace/work_ServerCheck
10:02:42 [Pipeline] }
10:02:42 [Pipeline] // exws
10:02:42 [Pipeline] echo
- is related to
-
JENKINS-70528 node / dir / node on same agent sets PWD to that of dir rather than @2 workspace
-
- Resolved
-
- links to
[JENKINS-70693] local workspace is used instead of external workspace
Description |
Original:
This happens since updating some plugins today (27.02.2023).
For testing I used following pipeline snippled (the job's name is "work_ServerCheck"): {{def exwsAll = exwsAllocate diskPoolId: 'ArchivedBuilds', path: "unmerged/work_ServerCheck"}} {{exws (exwsAll)}} {{{ exwsPath= pwd()}} {{ sh 'ls -la'}} {{ sh 'pwd'}} {{}}} This produces following output (I marked unexpected values {color:#de350b}red{color} - they used to be equal to the {color:#00875a}green{color} value in previous versions): {{10:02:42 {color:#00875a}Running in /media/Builds/unmerged/work_ServerCheck{color}}} {{10:02:42 [Pipeline] {}} {{10:02:42 [Pipeline] pwd}} {{10:02:42 [Pipeline] echo}} {{10:02:42 exwsPath={color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline] sh}} {{10:02:42 + pwd}} {{10:02:42 {color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline] }}} {{10:02:42 [Pipeline] // exws}} {{10:02:42 [Pipeline] echo}} |
New:
This happens since updating some plugins today (27.02.2023).
For testing I used following pipeline snippled (the job's name is "work_ServerCheck"): {{def exwsAll = exwsAllocate diskPoolId: 'ArchivedBuilds', path: "unmerged/work_ServerCheck"}} {{exws (exwsAll) {}} {{ }}{{exwsPath= pwd() }} {{{} println "exwsPath="+{}}}{{{}exwsPath{}}}{{{}{}}} {{ sh 'pwd'}} {{}}} This produces following output (I marked unexpected values {color:#de350b}red{color} - they used to be equal to the {color:#00875a}green{color} value in previous versions): {{10:02:42 {color:#00875a}Running in /media/Builds/unmerged/work_ServerCheck{color}}} {{10:02:42 [Pipeline] {}} {{10:02:42 [Pipeline] pwd}} {{10:02:42 [Pipeline] echo}} {{10:02:42 exwsPath={color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline] sh}} {{10:02:42 + pwd}} {{10:02:42 {color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline]}} } {{10:02:42 [Pipeline] // exws}} {{10:02:42 [Pipeline] echo}} |
Description |
Original:
This happens since updating some plugins today (27.02.2023).
For testing I used following pipeline snippled (the job's name is "work_ServerCheck"): {{def exwsAll = exwsAllocate diskPoolId: 'ArchivedBuilds', path: "unmerged/work_ServerCheck"}} {{exws (exwsAll) {}} {{ }}{{exwsPath= pwd() }} {{{} println "exwsPath="+{}}}{{{}exwsPath{}}}{{{}{}}} {{ sh 'pwd'}} {{}}} This produces following output (I marked unexpected values {color:#de350b}red{color} - they used to be equal to the {color:#00875a}green{color} value in previous versions): {{10:02:42 {color:#00875a}Running in /media/Builds/unmerged/work_ServerCheck{color}}} {{10:02:42 [Pipeline] {}} {{10:02:42 [Pipeline] pwd}} {{10:02:42 [Pipeline] echo}} {{10:02:42 exwsPath={color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline] sh}} {{10:02:42 + pwd}} {{10:02:42 {color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline]}} } {{10:02:42 [Pipeline] // exws}} {{10:02:42 [Pipeline] echo}} |
New:
This happens since updating some plugins today (27.02.2023).
For testing I used following pipeline snippled (the job's name is "work_ServerCheck"): {{def exwsAll = exwsAllocate diskPoolId: 'ArchivedBuilds', path: "unmerged/work_ServerCheck"}} {{exws (exwsAll) {}} {{ exwsPath= pwd() }} {{{} println "exwsPath="+{}}}{{{}exwsPath{}}}{{{{}}{}}} {{ sh 'pwd'}} {{}}} This produces following output (I marked unexpected values {color:#de350b}red{color} - they used to be equal to the {color:#00875a}green{color} value in previous versions): {{10:02:42 {color:#00875a}Running in /media/Builds/unmerged/work_ServerCheck{color}}} {{10:02:42 [Pipeline] {}} {{10:02:42 [Pipeline] pwd}} {{10:02:42 [Pipeline] echo}} {{10:02:42 exwsPath={color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline] sh}} {{10:02:42 + pwd}} {{10:02:42 {color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline]}} } {{10:02:42 [Pipeline] // exws}} {{10:02:42 [Pipeline] echo}} |
Description |
Original:
This happens since updating some plugins today (27.02.2023).
For testing I used following pipeline snippled (the job's name is "work_ServerCheck"): {{def exwsAll = exwsAllocate diskPoolId: 'ArchivedBuilds', path: "unmerged/work_ServerCheck"}} {{exws (exwsAll) {}} {{ exwsPath= pwd() }} {{{} println "exwsPath="+{}}}{{{}exwsPath{}}}{{{{}}{}}} {{ sh 'pwd'}} {{}}} This produces following output (I marked unexpected values {color:#de350b}red{color} - they used to be equal to the {color:#00875a}green{color} value in previous versions): {{10:02:42 {color:#00875a}Running in /media/Builds/unmerged/work_ServerCheck{color}}} {{10:02:42 [Pipeline] {}} {{10:02:42 [Pipeline] pwd}} {{10:02:42 [Pipeline] echo}} {{10:02:42 exwsPath={color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline] sh}} {{10:02:42 + pwd}} {{10:02:42 {color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline]}} } {{10:02:42 [Pipeline] // exws}} {{10:02:42 [Pipeline] echo}} |
New:
This happens since updating some plugins today (27.02.2023).
I have a feeling that it might be related to [ For testing I used following pipeline snippled (the job's name is "work_ServerCheck"): {{def exwsAll = exwsAllocate diskPoolId: 'ArchivedBuilds', path: "unmerged/work_ServerCheck"}} {{exws (exwsAll) {}} {{ exwsPath= pwd() }} {{{} println "exwsPath="+{}}}{{{}exwsPath{}}}{{{{}}{}}} {{ sh 'pwd'}} {{}}} This produces following output (I marked unexpected values {color:#de350b}red{color} - they used to be equal to the {color:#00875a}green{color} value in previous versions): {{10:02:42 {color:#00875a}Running in /media/Builds/unmerged/work_ServerCheck{color}}} {{10:02:42 [Pipeline] {}} {{10:02:42 [Pipeline] pwd}} {{10:02:42 [Pipeline] echo}} {{10:02:42 exwsPath={color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline] sh}} {{10:02:42 + pwd}} {{10:02:42 {color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline]}} } {{10:02:42 [Pipeline] // exws}} {{10:02:42 [Pipeline] echo}} |
Description |
Original:
This happens since updating some plugins today (27.02.2023).
I have a feeling that it might be related to [ For testing I used following pipeline snippled (the job's name is "work_ServerCheck"): {{def exwsAll = exwsAllocate diskPoolId: 'ArchivedBuilds', path: "unmerged/work_ServerCheck"}} {{exws (exwsAll) {}} {{ exwsPath= pwd() }} {{{} println "exwsPath="+{}}}{{{}exwsPath{}}}{{{{}}{}}} {{ sh 'pwd'}} {{}}} This produces following output (I marked unexpected values {color:#de350b}red{color} - they used to be equal to the {color:#00875a}green{color} value in previous versions): {{10:02:42 {color:#00875a}Running in /media/Builds/unmerged/work_ServerCheck{color}}} {{10:02:42 [Pipeline] {}} {{10:02:42 [Pipeline] pwd}} {{10:02:42 [Pipeline] echo}} {{10:02:42 exwsPath={color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline] sh}} {{10:02:42 + pwd}} {{10:02:42 {color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline]}} } {{10:02:42 [Pipeline] // exws}} {{10:02:42 [Pipeline] echo}} |
New:
This happens since updating some plugins today (27.02.2023).
I have a feeling that it might be related to [ For testing I used following pipeline snippled (the job's name is "work_ServerCheck"): {{def exwsAll = exwsAllocate diskPoolId: 'ArchivedBuilds', path: "unmerged/work_ServerCheck"}} {{exws (exwsAll) {}} {{ exwsPath= pwd() }} {{{} println "exwsPath="+{}}}{{{}exwsPath{}}}{{{{}}{}}} {{ sh 'pwd'}} {{}}} This produces following output (I marked unexpected values {color:#de350b}red{color} - they used to be equal to the {color:#00875a}green{color} value in previous versions): {{10:02:42 {color:#00875a}Running in /media/Builds/unmerged/work_ServerCheck{color}}} {{10:02:42 [Pipeline] {}} {{10:02:42 [Pipeline] pwd}} {{10:02:42 [Pipeline] echo}} {{10:02:42 exwsPath={color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline] sh}} {{10:02:42 + pwd}} {{10:02:42 {color:#de350b}/rsync/JenkinsJobs/workspace/work_ServerCheck{color}}} {{10:02:42 [Pipeline]}} } {{10:02:42 [Pipeline] // exws}} {{10:02:42 [Pipeline] echo}} |
Link |
New:
This issue is related to |
Labels | New: regression |
Assignee | Original: Alexandru Somai [ alexsomai ] | New: Tim Jacomb [ timja ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "external-workspace-manager-plugin #77 (Web Link)" [ 28510 ] |