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

Promoted Parameter String not valorised in publish-over-ssh Script (Exec command)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • None
    • Linux

      In a Promotion process,
      create a "Parameter String" : MY_PROMOTION_PARAMTER_STRING

      In a Send Build artefact over SSH
      Add a Exec command script :
      echo '--- SSH Script'
      echo $MY_PROMOTION_PARAMTER_STRING

      And to compare to wanted result
      In a Shell Script
      echo '--- Local Script'
      echo $MY_PROMOTION_PARAMTER_STRING

      During promotion the value is not evaluated.

            Unassigned Unassigned
            jmorille j morille
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: