Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-12124

Bamboo assumes the windows batch script as an executable when running infile script task

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 4.3
    • 4.2
    • Windows

      Step to reproduce

      1. Create a simple batch file and place it in the plan root repository
      2. Create an inline script task as per the screenshot below:
      3. Run a build and the following errors will be shown in the log:
        Unable to find executable at xxxx.bat
        
      4. See screenshot

      Workaround
      Specify the full path of the directory where the batch file is placed.

        1. config.png
          43 kB
          Sultan Maiyaki
        2. error.png
          77 kB
          Sultan Maiyaki

            [BAM-12124] Bamboo assumes the windows batch script as an executable when running infile script task

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1443508 ] New: JAC Bug Workflow v3 [ 3383855 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1421601 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1443508 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 609381 ] New: Bamboo Workflow 2016 v1 [ 1421601 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 23695 ] New: This issue links to "Page (Extranet)" [ 23695 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 24055 ] New: This issue links to "Page (Extranet)" [ 24055 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 23695 ] New: This issue links to "Page (Extranet)" [ 23695 ]
            Roger Barnes (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 24055 ] New: This issue links to "Page (Extranet)" [ 24055 ]
            minnsey made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 24055 ] New: This issue links to "Page (Extranet)" [ 24055 ]
            minnsey made changes -
            Remote Link Original: This issue links to "Wiki Page (Extranet)" [ 23452 ] New: This issue links to "Page (Extranet)" [ 23452 ]
            minnsey made changes -
            Remote Link Original: This issue links to "Wiki Page (Extranet)" [ 23695 ] New: This issue links to "Page (Extranet)" [ 23695 ]

              Unassigned Unassigned
              smaiyaki Sultan Maiyaki (Inactive)
              Affected customers:
              3 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: