File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
src/main/java/com/browserstack/automate/ci Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1717
1818public class PluginsTracker {
1919 private static final MediaType JSON = MediaType .get ("application/json; charset=utf-8" );
20- private static final String URL = "https://api.browserstack.com/ci_plugins/track" ;
20+ // private static final String URL = "https://api.browserstack.com/ci_plugins/track";
21+ private static final String URL = "https://apiwtf2.bsstag.com/ci_plugins/track" ;
2122 private static final OkHttpClient client = new OkHttpClient ();
2223 private final String trackingId ;
2324 private String username ;
Original file line number Diff line number Diff line change @@ -85,8 +85,12 @@ private void fetchBuildAndSessions() {
8585
8686 BrowserStackClient client ;
8787 if (projectType == ProjectType .APP_AUTOMATE ) {
88+ // will be removing the following line...
89+ System .setProperty ("browserstack.app-automate.api" , "https://apiwtf2.bsstag.com/app-automate" );
8890 client = new AppAutomateClient (credentials .getUsername (), credentials .getDecryptedAccesskey ());
8991 } else {
92+ // will be removing the following line before publishing for production
93+ System .setProperty ("browserstack.automate.api" , "https://apiwtf2.bsstag.com/automate" );
9094 client = new AutomateClient (credentials .getUsername (), credentials .getDecryptedAccesskey ());
9195 }
9296
You can’t perform that action at this time.
0 commit comments