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

Environment variables are not recognized in the device text field

      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"

          [JENKINS-26255] Environment variables are not recognized in the device text field

          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).

          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).

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

              Created:
              Updated: