This repository contains fastlane plugin for AirWatch and WorkspaceONE and allows to upload IPA/APK file to AirWatch and WorkspaceONE console along with retiring previous versions of the app.
hiddamsetty@LM-SJN-40032960 fastlane-plugin-airwatch_workspaceone % bundle exec fastlane deploy_ws1_example1 --verbose
[✔] 🚀
DEBUG [2024-03-06 13:47:49.49]: Checking if there are any plugins that should be loaded...
DEBUG [2024-03-06 13:47:49.49]: Loading 'fastlane-plugin-airwatch_workspaceone' plugin
INFO [2024-03-06 13:47:49.49]: gem 'fastlane-plugin-airwatch_workspaceone' is already installed
+----------------------------------------------------------------------------------------------------+
| Used plugins |
+---------------------------------------+---------+--------------------------------------------------+
| Plugin | Version | Action |
+---------------------------------------+---------+--------------------------------------------------+
| fastlane-plugin-airwatch_workspaceone | 2.4.0 | add_or_update_assignments, |
| | | delete_previous_versions, |
| | | delete_specific_version, deploy_build, |
| | | latest_version, retire_previous_versions, |
| | | retire_specific_version, unretire_all_versions, |
| | | unretire_specific_version |
+---------------------------------------+---------+--------------------------------------------------+
INFO [2024-03-06 13:47:49.90]: ------------------------------
INFO [2024-03-06 13:47:49.90]: --- Step: default_platform ---
INFO [2024-03-06 13:47:49.90]: ------------------------------
INFO [2024-03-06 13:47:49.90]: Driving the lane 'ios deploy_ws1_example1' 🚀
INFO [2024-03-06 13:47:49.91]: --------------------------
INFO [2024-03-06 13:47:49.91]: --- Step: deploy_build ---
INFO [2024-03-06 13:47:49.91]: --------------------------
INFO [2024-03-06 13:47:49.91]: The airwatch_workspaceone plugin is working!
INFO [2024-03-06 13:47:49.91]: -----------------------------------
INFO [2024-03-06 13:47:49.91]: DeployBuildAction debug information
INFO [2024-03-06 13:47:49.91]: -----------------------------------
INFO [2024-03-06 13:47:49.91]: host_url: XXXX
INFO [2024-03-06 13:47:49.91]: aw_tenant_code: XXX
INFO [2024-03-06 13:47:49.91]: b64_encoded_auth: XXXX
INFO [2024-03-06 13:47:49.91]: organization_group_id: XXXX
INFO [2024-03-06 13:47:49.91]: app_name: XXXX
INFO [2024-03-06 13:47:49.91]: app_version: 8.58.0-RC2
INFO [2024-03-06 13:47:49.91]: file_name: XXXX.ipa
INFO [2024-03-06 13:47:49.91]: path_to_file: /Users/hiddamsetty/Downloads/8.58.2652.ipa
INFO [2024-03-06 13:47:49.91]: push_mode: On demand
INFO [2024-03-06 13:47:49.91]: ----------------------
INFO [2024-03-06 13:47:49.91]: 1. Finding device type
INFO [2024-03-06 13:47:49.91]: ----------------------
INFO [2024-03-06 13:47:49.91]: Device Type identified is: Apple
INFO [2024-03-06 13:47:49.91]: ----------------------------------
INFO [2024-03-06 13:47:49.91]: 2. Setting supported device models
INFO [2024-03-06 13:47:49.91]: ----------------------------------
INFO [2024-03-06 13:48:00.03]: Supported Device Model(s): {"Model":[{"ModelId":1,"ModelName":"iPhone"},{"ModelId":3,"ModelName":"iPod Touch"}]}
INFO [2024-03-06 13:48:00.03]: ---------------------
INFO [2024-03-06 13:48:00.03]: 3. Uploading IPA file
INFO [2024-03-06 13:48:00.03]: ---------------------
WARN [2024-03-06 13:48:57.75]: Lane Context:
INFO [2024-03-06 13:48:57.75]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios deploy_ws1_example1"}
ERROR [2024-03-06 13:48:57.75]: 400 Bad Request
INFO [2024-03-06 13:48:57.77]: Successfully generated documentation at path '/Users/hiddamsetty/Documents/fastlane-plugin-airwatch_workspaceone/fastlane/README.md'
🔗 You can ⌘ + double-click on links to open them directly in your browser.
DEBUG [2024-03-06 13:48:59.05]: All plugins are up to date
bundler: failed to load command: fastlane (/Users/hiddamsetty/.rbenv/versions/3.2.0/bin/fastlane)
/Users/hiddamsetty/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:249:in `exception_with_response': 400 Bad Request (RestClient::BadRequest)
hiddamsetty@LM-SJN-40032960 fastlane-plugin-airwatch_workspaceone % bundle exec fastlane deploy_ws1_example1 --verbose [✔] 🚀 DEBUG [2024-03-06 13:47:49.49]: Checking if there are any plugins that should be loaded... DEBUG [2024-03-06 13:47:49.49]: Loading 'fastlane-plugin-airwatch_workspaceone' plugin INFO [2024-03-06 13:47:49.49]: gem 'fastlane-plugin-airwatch_workspaceone' is already installed +----------------------------------------------------------------------------------------------------+ | Used plugins | +---------------------------------------+---------+--------------------------------------------------+ | Plugin | Version | Action | +---------------------------------------+---------+--------------------------------------------------+ | fastlane-plugin-airwatch_workspaceone | 2.4.0 | add_or_update_assignments, | | | | delete_previous_versions, | | | | delete_specific_version, deploy_build, | | | | latest_version, retire_previous_versions, | | | | retire_specific_version, unretire_all_versions, | | | | unretire_specific_version | +---------------------------------------+---------+--------------------------------------------------+
INFO [2024-03-06 13:47:49.90]: ------------------------------ INFO [2024-03-06 13:47:49.90]: --- Step: default_platform --- INFO [2024-03-06 13:47:49.90]: ------------------------------ INFO [2024-03-06 13:47:49.90]: Driving the lane 'ios deploy_ws1_example1' 🚀 INFO [2024-03-06 13:47:49.91]: -------------------------- INFO [2024-03-06 13:47:49.91]: --- Step: deploy_build --- INFO [2024-03-06 13:47:49.91]: -------------------------- INFO [2024-03-06 13:47:49.91]: The airwatch_workspaceone plugin is working! INFO [2024-03-06 13:47:49.91]: ----------------------------------- INFO [2024-03-06 13:47:49.91]: DeployBuildAction debug information INFO [2024-03-06 13:47:49.91]: ----------------------------------- INFO [2024-03-06 13:47:49.91]: host_url: XXXX INFO [2024-03-06 13:47:49.91]: aw_tenant_code: XXX INFO [2024-03-06 13:47:49.91]: b64_encoded_auth: XXXX
INFO [2024-03-06 13:47:49.91]: organization_group_id: XXXX INFO [2024-03-06 13:47:49.91]: app_name: XXXX INFO [2024-03-06 13:47:49.91]: app_version: 8.58.0-RC2 INFO [2024-03-06 13:47:49.91]: file_name: XXXX.ipa INFO [2024-03-06 13:47:49.91]: path_to_file: /Users/hiddamsetty/Downloads/8.58.2652.ipa INFO [2024-03-06 13:47:49.91]: push_mode: On demand INFO [2024-03-06 13:47:49.91]: ---------------------- INFO [2024-03-06 13:47:49.91]: 1. Finding device type INFO [2024-03-06 13:47:49.91]: ---------------------- INFO [2024-03-06 13:47:49.91]: Device Type identified is: Apple INFO [2024-03-06 13:47:49.91]: ---------------------------------- INFO [2024-03-06 13:47:49.91]: 2. Setting supported device models INFO [2024-03-06 13:47:49.91]: ---------------------------------- INFO [2024-03-06 13:48:00.03]: Supported Device Model(s): {"Model":[{"ModelId":1,"ModelName":"iPhone"},{"ModelId":3,"ModelName":"iPod Touch"}]} INFO [2024-03-06 13:48:00.03]: --------------------- INFO [2024-03-06 13:48:00.03]: 3. Uploading IPA file INFO [2024-03-06 13:48:00.03]: --------------------- WARN [2024-03-06 13:48:57.75]: Lane Context: INFO [2024-03-06 13:48:57.75]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios deploy_ws1_example1"} ERROR [2024-03-06 13:48:57.75]: 400 Bad Request INFO [2024-03-06 13:48:57.77]: Successfully generated documentation at path '/Users/hiddamsetty/Documents/fastlane-plugin-airwatch_workspaceone/fastlane/README.md'
+---------------------------------------+ | fastlane summary | +------+------------------+-------------+ | Step | Action | Time (in s) | +------+------------------+-------------+ | 1 | default_platform | 0 | | 💥 | deploy_build | 67 | +------+------------------+-------------+
DEBUG [2024-03-06 13:48:57.86]: All plugins are up to date ERROR [2024-03-06 13:48:57.86]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane... Search query: 400 Bad Request
URL: https://api.github.com/search/issues?q=400%20Bad%20Request+repo:fastlane/fastlane ➡️ Distribute to hockeyapp suddenly failing https://github.com/fastlane/fastlane/issues/400 [closed] 8 💬 22 Sep 2016
➡️ Supply: Publishing Draft Google Play Listing fails if App Content not filled out yet https://github.com/fastlane/fastlane/issues/20630 [open] 6 💬 10 Jan 2024
➡️ Failing to complete a staged rollout for a release containing a retained bundle https://github.com/fastlane/fastlane/issues/20997 [closed] 0 💬 28 Oct 2023
and 35 more at: https://github.com/fastlane/fastlane/search?q=400%20Bad%20Request&type=Issues&utf8=✓
🔗 You can ⌘ + double-click on links to open them directly in your browser. DEBUG [2024-03-06 13:48:59.05]: All plugins are up to date bundler: failed to load command: fastlane (/Users/hiddamsetty/.rbenv/versions/3.2.0/bin/fastlane) /Users/hiddamsetty/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:249:in `exception_with_response': 400 Bad Request (RestClient::BadRequest)