dir('myfolder') taking user to tmp folder inside 'myfolder'

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: pipeline
    • None
    • Environment:
      Jenkins 2.289.3
      MacOS Catalina. Version 10.15.7

      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

            Assignee:
            Unassigned
            Reporter:
            Bhaskar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: