Teamcity
The Commands and Action Teamcity Bot can Perform :
Actions | Commands |
---|---|
View the list of project | list project |
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 |
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.