GithubHelp home page GithubHelp logo

xebialabs-community / teamcity-xldeploy-plugin Goto Github PK

View Code? Open in Web Editor NEW
0.0 24.0 1.0 1.8 MB

Integration between TeamCity and XL Deploy

License: MIT License

Java 100.00%
teamcity xld xldeploy xl-deploy

teamcity-xldeploy-plugin's Introduction

TeamCity / XL Deploy plugin

Build Status Build Status Build Status License: MIT Github All Releases

Installation

  1. Generate zip file using mvn package from root directory
  2. Copy zip file to TeamCity Data Directory (e.g. ~/.BuildServer/plugins)
  3. Restart TeamCity server
  4. Configure build steps

Package step

  • XL Deploy host, XL Deploy port, XL Deploy username, XL Deploy password are for future use.
  • Deployable and Templates should be in XML format.
  • All artifacts described in the Deployables XML with file="pathTo/filename" should be listed under Artifact locations. The format is pathTo=PathInWorkspace, one per line. Here, pathTo is the path relative to the DAR root and does not include the filename. It is typically the same as the Artifact name. PathInWorkspace is the path to the artifact in the TeamCity build workspace and includes the filename.
  • Application dependencies should be listed in the format AppName=1.0 or AppName=[1.0,2.0), one per line.
  • Bound templates shoudl be listed in the format /TemplateName, one per line. The name should correspond to the name used in the XML under Templates.
  • Orchestrators should be listed by name (e.g. parallel-by-container), one per line.
  • The DAR package will be %teamcity.build.workingDir%/%teamcity.build.id%/deploymentPackage/ApplicationName-VersionName.dar.

screenshot of publish step screenshot of publish step

Publish step

  • If the DAR package is built in the XldPackage step, use %teamcity.build.workingDir%/%teamcity.build.id%/deploymentPackage/MyDemoApp-%build.number%.dar for its path.

screenshot of publish step

Deploy step

  • Specify Application Name, Version Name, and Enviroment Id.
  • For XL Deploy 8.6.x and higher, use plugin version 1.3.0. This version performs the validate call for the deployment.
  • For XL Deploy 8.5.x and lower, use plugin version 1.2.6. This version omits the validate call for the deployment.

screenshot of deploy step

Build parameters

screenshot of deploy step

Tested on TeamCity 2018.1.3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.