Code Monkey home page Code Monkey logo

Comments (2)

RamblingCookieMonster avatar RamblingCookieMonster commented on July 29, 2024

Hi!

Good question on the commit message side. A few options:

  • If it exists, read data from XML that tells us how many new commits this build touches. Use git to extract commit message from all, concatenate.
  • Assume one-commit granularity. Use git to grab the last commit. Given the functionality you describe, this route might be a poor choice.
  • Give up : P Or, if the first bullet isn't an option, and the second bullet isn't reflective of the actual commit messages (i.e. it would only include 1 even if more were included), assume no data is better than bad data, return $null for this.

For the XML side, feel free to add handling to Get-BuildVariables that reads from that XML if it's present.

Cheers!

from buildhelpers.

Plork avatar Plork commented on July 29, 2024

Seems Teamcity does not pass a lot of variables by design to the build agent. (not even in the property file). It does not even pass along the server url in a variable otherwise I could use the API to get that information.

In other words You need to configure you build to pass along variables to the agent for use of BuildHelpers.

Don't know if that matches with the philosophy behind BuildHelpers?

from buildhelpers.

Related Issues (20)

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.