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

SCP/SSH deployment tasks do not support bamboo variables

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Low
    • None
    • 5.0
    • SCP and SSH tasks

    Description

      When trying to use bamboo variables in an SCP/SSH task the deployment fails. It does work without variables.

      See below:

      • Finished task 'Download release contents'
      • Starting task 'Create deployment folder' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:sshtask'
      • Executing [mkdir -p /var/www/deployments/ota-install/${bamboo.buildKey}/${bamboo.repository.revision.number}/]
      • stdout = []
        -5 stderr = [bash: /var/www/deployments/ota-install/${bamboo.buildKey}/${bamboo.repository.revision.number}/: bad substitution]
      • [mkdir -p /var/www/deployments/ota-install/${bamboo.buildKey}/${bamboo.repository.revision.number}/] has finished. Result: exit code = 1

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              2e0f34039ad6 PJ van Dyk
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: