Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
Jenkins 2.289.3
MacOS Catalina. Version 10.15.7
Description
I have a pipeline script that clones a git folder and then switches to the cloned folder by using dir(). After switching to the cloned folder, I am trying to run a shell command to install a few npm packages.
however, the shell command is executed inside the @tmp folder instead of the folder being supplied in the dir() step.
The @tmp folder seems to be automatically created inside the folder supplied in the dir() step when i clone theĀ git repository
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
I have a pipeline script that clones a git folder and then switches to the cloned folder by using dir(). After switching to the cloned folder, I am trying to run a shell command to install a few npm packages.
however, the shell command is executed inside the @tmp folder instead of the folder being supplied in the dir() step. The @tmp folder seems to be automatically created when i clone the git repository |
I have a pipeline script that clones a git folder and then switches to the cloned folder by using dir(). After switching to the cloned folder, I am trying to run a shell command to install a few npm packages.
however, the shell command is executed inside the @tmp folder instead of the folder being supplied in the dir() step. The @tmp folder seems to be automatically created inside the folder supplied in the dir() step when i clone the git repository |
Attachment | automatic temp folder.png [ 55326 ] |