Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Actions and Commands

The Commands and Action Teamcity Bot can Perform :

ActionsCommands
        view the list of project        list project

to create a new project (Refer the below configuration files to update build configuration details for a project)

create project <projectid> <buildtypeid>

       delete a project

delete project <projectname>

       view the list of users

list user

       create a new user

create user <name> <username> <password>

       view the list of buildtypes(buildconfiguration)

list buildtypes

      to start build using buildtypeid(buildconfiguration)

start build <buildtypeid>

      view the list of builds buildQueue

list buildqueue

       view the status of completed build using buildid

show buildid <buildid>

      view the status of latest completed build using buildtypeid(buildconfiguration)

show build <buildtypeid>

       cancel a build in build queue       cancel buildqueue <buildid>

        → Actions available by default

        → Actions enriched by OneDevOps | OnBot

Additional files required by the bot

create_build_config.xml → build configuration of the teamcity project

create_build_steps.xml → build steps of the teamcity project

create_project.xml → project configuration details

create_VCS_Root.xml → root details to fetch the project code

create_VCS_Root_Entry.xml → binding details between the VCS root and build config


These files should be present inside the scripts directory of the teamcity bot.

  • No labels