Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-20162

Command not found error on Pipelines

    XMLWordPrintable

Details

    Description

      Summary
      At this time, defining a variable with the name "PATH" in Account variables, Repository variables, and Deployment variables. The default $PATH variable on the image being running gets overridden and results in the following error:

      <command_name>: Command not found

      It would be great if we can make users aware of this on the pipeline variables page and in the form of relevant documentation.

      Workaround
      Avoid using "PATH" as a variable name in the account, repository, and deployment variable sections for the reason shared above.

      Try using a detailed name that adds more context on why the variable is being used, example: "remote_path", "web_path", "destination_path" etc.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ssingh4 Saurabh Singh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: