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

Environment variables are not recognized in the device text field

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I want to put the device id dynamically to deploy to ios device by passing an argument to my job, but the plugin does not resolve the value of the parameter and I get an error telling "No such a device: $DEVICE_ID"

        Attachments

          Activity

          pablito900 Pablo Retyk created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 160314 ] JNJira + In-Review [ 180311 ]
          Hide
          ohadschn Ohad Schneider added a comment - - edited

          A valid request, but there's really no need for this feature when it can be replaced by 3 lines of bash:

          npm install -g ios-deploy
          npm install -g ipa-deploy
          ipa-deploy foo.ipa --id $DEVICE_ID --uninstall

          Of course it then uses the much more updated ios-deploy (the device connector plugin uses fruitstrap which isn't maintained for years now).

          Show
          ohadschn Ohad Schneider added a comment - - edited A valid request, but there's really no need for this feature when it can be replaced by 3 lines of bash: npm install -g ios-deploy npm install -g ipa-deploy ipa-deploy foo.ipa --id $DEVICE_ID --uninstall Of course it then uses the much more updated ios-deploy (the device connector plugin uses fruitstrap which isn't maintained for years now).
          jglick Jesse Glick made changes -
          Labels envinronment-variables ios parameters plugin envinronment-variables environment-variables ios parameters plugin
          jglick Jesse Glick made changes -
          Labels envinronment-variables environment-variables ios parameters plugin environment-variables ios parameters plugin

            People

            Assignee:
            kohsuke Kohsuke Kawaguchi
            Reporter:
            pablito900 Pablo Retyk
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: