Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66275

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

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline
    • None
    • 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

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

              Created:
              Updated: