Add AirWatch App deployment plugin to Jenkins
In this section, we are going to add the AirWatch App Deployment plugin to our Jenkins server. This plugin is hosted on AirWatch Resource portal under the section Developer Tools and anyone with a valid myAirWatch ID can download this plugin. In order to limit the scope for this lab, we have already downloaded this plugin for you.
1. Open Chrome Browser
Double click on Google Chrome icon on the desktop to launch.
2. Navigate to Jenkins
- As you launch Chrome, you will see the default home page as AirWatch admin console URL. Click to open a new tab.
- Select the bookmark Jenkins.
- Enter user as "jenkinsadmin".
- Enter password as "VMware1!".
- Click on log in.
3. Navigate to Manage Plugins
- Click Manage Jenkins.
- Click Manage Plugins.
4. Plugin Manager Advanced Settings
Click the Advanced tab.
NOTE - If you see any prompts for updates available for plugin, then ignore them for this lab.
5. Navigate to the Upload Plugin Section
- Scroll down until you see the section Upload Plugin.
- Click on Choose File.
6. Select Jenkins Plugin File
- Click on Documents.
- Click on HOL.
- Select the Jenkins folder.
- Select the file JenkinsAirWatch.hpi.
- Click Open.
7. Upload Jenkins Plugin File
- Ensure that you have selected JenkinsAirWatch.hpi
- Click on Upload.
8. Install Plugin and Restart Jenkins
NOTE - The plugin may take a minute or two to install, please wait until the installation process has finished before continuing.
- Click to ENABLE AUTO REFRESH if not enabled already.
- Check the box to Restart Jenkins.
- After successful installation of the plugin, you should see a Success status for seamlessdeploymentofairwatchapp.
Please wait while the Restarting Jenkins task begins. This should take less than a minute.
9. Wait While Jenkins Restarts
Once the Restart task has been started, your browser will refresh and you will see a restarting screen while this processes. Please wait while Jenkins restarts, you will be automatically taken back to the Jenkins login page once this completes.
10. Login to Jenkins After the Restart
Login using same credentials as before:
- Enter user as "jenkinsadmin".
- Enter password as "VMware1!".
- Click on log in.
11. Return to the Manage Plugins Page
Click on Manage Plugins.
12. Enable the Plugin
- Click the Installed tab.
- Click the checkbox under the Enabled column for the AirWatch Jenkins Plugin for App Deployment.
13. Restart Jenkins After Enabling the Plugin
- Scroll down to the bottom of the Installed section.
- Click Restart Once No Jobs Are Running.
14. Wait While Jenkins Prepares to Shutdown
You will see a status bar update that states Jenkins is going to shut down. Please wait while Jenkins finalizes any jobs and shuts down, you will not need to take any further actions at this time.
NOTE - This task should complete within a minute.
15. Wait While Jenkins Restarts
Please wait while Jenkins restarts, you will be automatically taken back to the Jenkins login page once this completes.
16. Login to Jenkins After the Restart
Login using same credentials as before:
- Enter user as "jenkinsadmin".
- Enter password as "VMware1!".
- Click on log in.