Check out our new courses on Mobile Testing with BrowserStack App Automate. Login to Test University

Unable to upload app via Jenkins Pipeline

When running App-Automate tests on Jenkins, you need to specify the path to the application that is stored on your local machine from where the application is uploaded on BrowserStack. Please refer the App Upload step in the link below:
https://www.browserstack.com/app-automate/appium/jenkins#app-upload-config

The BrowserStack Local Plugin for Jenkins implicitly sets the hashed id for the uploaded application as BROWSERSTACK_APP_ID.
You just need to add the correct BrowserStack credentials in your test suite and run the test. Please refer the link here to configure credentials with Jenkins:
https://www.browserstack.com/app-automate/appium/jenkins#local-config