-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
When running a job inside a folder, the correct structure is not created:
==> vmware-iso: Downloading or copying ISO
vmware-iso: Downloading or copying:
file:///opt/iso/rhel-server-7.3-x86_64-dvd.iso==> vmware-iso: Creating virtual machine disk==> vmware-iso: Building and writing VMX file==> vmware-iso: Error creating VMX file: open rhel-7.3-x86_64/server_imaging/packer_rhel7_64.vmx: no such file or directory==> vmware-iso: Deleting output directory...Build 'vmware-iso' errored: Error creating VMX file: open rhel-7.3-x86_64/server_imaging/packer_rhel7_64.vmx: no such file or directory
The folder should not contain a nested 'server_imaging' since that is the actual name of the folder that contains the job:
server_imaging (this is a folder) -> packer_rhel7_74 (this is the job)
Once I moved the job out of the server_imaging folder, it executed and completed as expected.
The environment is using version 6.0.3 of the folder plugin, and Jenkins LTS 2.19.4
[JENKINS-42964] Job inside folder creates wrong nested structure
Description |
Original:
When running a job inside a folder, the correct structure is not created: *==> vmware-iso: Downloading or copying ISO* vmware-iso: Downloading or copying: [file:///opt/iso/rhel-server-7.3-x86_64-dvd.iso]*==> vmware-iso: Creating virtual machine disk**==> vmware-iso: Building and writing VMX file**==> vmware-iso: Error creating VMX file: open rhel-7.3-x86_64/server_imaging/packer_rhel7_64.vmx: no such file or directory**==> vmware-iso: Deleting output directory...**Build 'vmware-iso' errored: Error creating VMX file: open rhel-7.3-x86_64/server_imaging/packer_rhel7_64.vmx: no such file or directory* The doler should not contain a nested 'server_imaging' since that is the actual name of the folder that contains the job: server_imaging (this is a folder) -> packer_rhel7_74 (this is the job) Once I moved the job out of the server_imaging folder, it executed and completed as expected. The environment is using version 6.0.3 of the folder plugin, and Jenkins LTS 2.19.4 |
New:
When running a job inside a folder, the correct structure is not created: *==> vmware-iso: Downloading or copying ISO* vmware-iso: Downloading or copying: [file:///opt/iso/rhel-server-7.3-x86_64-dvd.iso]*==> vmware-iso: Creating virtual machine disk**==> vmware-iso: Building and writing VMX file**==> vmware-iso: Error creating VMX file: open rhel-7.3-x86_64/server_imaging/packer_rhel7_64.vmx: no such file or directory**==> vmware-iso: Deleting output directory...**Build 'vmware-iso' errored: Error creating VMX file: open rhel-7.3-x86_64/server_imaging/packer_rhel7_64.vmx: no such file or directory* The folder should not contain a nested 'server_imaging' since that is the actual name of the folder that contains the job: server_imaging (this is a folder) -> packer_rhel7_74 (this is the job) Once I moved the job out of the server_imaging folder, it executed and completed as expected. The environment is using version 6.0.3 of the folder plugin, and Jenkins LTS 2.19.4 |