> For the complete documentation index, see [llms.txt](https://docs.getupdraft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getupdraft.com/integrations/teamcity-1.md).

# Teamcity

## Uploading a build to [Updraft](https://getupdraft.com) with Teamcity

If you want to upload the app without including the updraft gradle plugin, you can do this by using the CURL link provided on Updraft. In order to set this up, first go to your project and open the desired application. On there, go to the Application Overview

On the Application Overview, click on **Copy CURL to Clipboard** in order to copy the executable command to upload the app.

The CURL will have a format like this:&#x20;

> curl -X PUT -F ‘app=@/PATH/TO/FILE’ [https://app.getupdraft.com/api/app\_upload/123456/23456/](https://medium.com/r/?url=https%3A%2F%2Fgetupdraft.com%2Fapi%2Fapp_upload%2F99c2f0f6b85d462daea5f8d9f062d346%2F65ae1e0f4b1f4b1898c9c956c4486289%2F)

After copying the CURL, head over to TeamCity.

**Create a new Build Step** which should be executed after building your app (when the .apk or .ipa file is ready).&#x20;

Select **Command Line** as the Runner type.

![Select Command Line as the Runner type](/files/-LcWd_GdJe-CqxHd9_Of)

After that, you can paste the CURL to the field **Custom script**.&#x20;

![Copy & paste Updraft CURL Link to the custom script](/files/-LcWdiHcg3fs0iZxLPUp)

**Note:** Be sure to replace the **-F app=@/PATH/TO/FILE** argument with a path to your own APK or IPA.

After setting up everything correctly in this build step, the app should be uploaded to Updraft appropriately.
