id | title | hide_title | sidebar_label | description | keywords | url | site_name | slug | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
teamcity-plugin |
TeamCity Plugin Integration |
true |
TeamCity Plugin |
Learn how to execute tests directly on the LambdaTest platform, and test your local, dev, or stage environments securely using the LambdaTest TeamCity plugin. |
|
LambdaTest |
teamcity-plugin/ |
The TeamCity plugin will help you to manage your LambdaTest credentials, write and execute tests directly on the LambdaTest platform, and test your local, internal, dev, or stage environments securely with the help of Lambda Tunnel.
Visit the JetBrains marketplace and enter “LambdaTest” in the search bar.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/teamcity-plugin-13-768x401.webp').default} alt="jetbrain" width="768" height="432" className="doc_img"/>
You will need to clear the filter (set as default by JetBrains) to view the result, as shown in the image below.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/teamcity-plugin-20-604x270.webp').default} alt="marketplace" width="768" height="314" className="doc_img"/>
Once you do, you can see the LambdaTest Plugin appearing in the search results.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/teamcity-plugin-15-1-768x348.webp').default} alt="marketplace" width="604" height="270" className="doc_img"/>
Select the LambdaTest test result and click on Get button to download the LambdaTest’s TeamCity Plugin.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/teamcity-plugin-16-768x257.webp').default} alt="teamcity plugin" width="604" height="270" className="doc_img"/>
To install the TeamCity plugin, you need to download the compressed zip file from here. Once downloaded, follow the below steps to upload the plugin on your TeamCity server.
- Go to your server Administration and then to Plugins List
<img loading="lazy" src={require('../assets/images/teamcity-plugin/server-administration.webp').default} alt="teamcity plugin" width="930" height="727" className="doc_img"/>
- Now inorder to add the LambdaTest’s TeamCity plugin, choose the option Upload ZIP file and upload the earlier downloaded zip file.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/lambdatest-plugins.webp').default} alt="teamcity plugin" width="768" height="348" className="doc_img"/>
- You will need to restart your TeamCity server. Once done, the LambdaTest TeamCity plugin will be shown, as an External plugin, as shown below.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/lambdatest-plugins-list.webp').default} alt="teamcity plugin" width="768" height="311" className="doc_img"/>
Thats it. The LambdaTest TeamCity plugin has been added in your TeacmCity Server successfully.
For demo purpose, we have used this sample Github repository. Below are the steps on how to configure the project:
- In this sample TeamCity server project, we have used two basic steps as a part of the test, based on the Github repo.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/teamcity-server-project.webp').default} alt="teamcity github" width="768" height="602" className="doc_img"/>
- Now to configure your Build Features, visit the Build Features from the left bar and click on the button to Add Build Feature.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/build-feature.webp').default} alt="build feature" width="768" height="345" className="doc_img"/>
- In the drop down box that appears, choose the LambdaTest feature.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/lambdatest-features.webp').default} alt="lambdatest feature" width="768" height="302" className="doc_img"/>
- Now a window will appear where you can configure the LambdaTest feature. Insert your LambdaTest username and access key into it and save the feature. You can fetch your username and access key from your LambdaTest profile.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/configure-lambdatest-feature.webp').default} alt="lambdatest profile" width="768" height="345" className="doc_img"/>
- Upon saving, you can see that the LambdaTest build feature has been added in your project.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/lt-build-features.webp').default} alt="teamcity project" width="768" height="345" className="doc_img"/>
That’s it. Your project has been successfully configured to run tests using the LambdaTest TeamCity plugin.
Upon executing the project, you can see the test status and the automation report directly on your automation dashboard.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/test-execution.webp').default} alt="automation dashboard" width="768" height="345" className="doc_img"/>
To test your locally or privately hosted website, or your dev or stage environments securely, you can make use of Lambda Tunnel. To activate the Tunnel in your project, while adding the LambdaTest build feature, make sure to tick the Enable LAMBDATEST TUNNEL option.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/enable-lambda-tunnel.webp').default} alt="lambda tunnel" width="768" height="345" className="doc_img"/>
If you want to save the Tunnel binary file in a specific location, you provide its path in the LAMBDATEST TUNNEL Path option. If not provided, ‘checkout directory’ will be chosen to download and install the Lambda Tunnel Binary.
Also, you can also customize this tunnel based on your requirements, using the Tunnel modifiers. For example, we have used the –tunnelName modifier to customize the Tunnel connection name.
--tunnelName TeamCity
To know more about the Tunnel modifiers, please refer here.
After the above configuration of Lambda Tunnel in your project’s Build Features, you can now execute your local projects and test your localhost, dev, or even stage environments securely with just a click.
Once you run your tests, you can see the Lambda Tunnel getting activated during your test execution, on the toolbar of your LambdaTest’s automation dashboard, as shown below.
<img loading="lazy" src={require('../assets/images/teamcity-plugin/automation-testing-dashboard.webp').default} alt="automation tunnel" width="768" height="345" className="doc_img"/>
Thats it folks! If you have any doubt or questions, feel free to contact our experts at <span className="doc__lt" onClick={() => window.openLTChatWidget()}>24/7 chat support or mail us at support@lambdatest.com. Happy testing! 🙂