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

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

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • pipeline
    • 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

          There are no comments yet on this issue.

          People

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

            Dates

              Created:
              Updated: