Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9189445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:14:19+00:00 2026-06-17T20:14:19+00:00

My company is developing an open source project. Therefore we have to consider two

  • 0

My company is developing an open source project. Therefore we have to consider two different build script setups. The first is a local build and is used by us as well as by the community. The second build is performed on a CI server (we use team city).

Now two questions arise:

  1. Should we put the server specific build files in the same repository as the local build files?
  2. If yes, how do we handle sensible data like? For instance, the NuGet API key or the version information which is incremented with every nightly/weekly build?

Situation right now: we put only the local build files in the repository and keep the sensible stuff in a parent directory. Therefore it feels a bit clumsy (at least for me personally).

Sitation which I can think of: Have a local.build and server.build file in the repository. Then in team city set a system variable containing the passwords and version numbers. Right now I don’t now how team city handles the visibility of the properties. Of course we don’t want the password to be accessible or readable by every of our developers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:14:20+00:00Added an answer on June 17, 2026 at 8:14 pm

    I think that your intuition is good with the second option. You could include both scripts in source control and pass variables to server.build, or you could perhaps move the entire server.build process into a TeamCity build configuration.

    Version numbers: TC handles version numbers with an incrementing build counter, to which you can prepend any arbitrary major.minor.etc. You can configure the format of the build number on the General Settings page, under Build Number Format. On our team we have a build parameter, %version%, which we fill in with the major.minor values. Our Build Number Format is then set to %version%.{0}, which gives us major.minor.build. This combined value is available via the %system.build.number% variable.

    Sensitive Data: You can create build parameters that mask sensitive data. Add a new parameter and click the Edit button in the Spec field. You can then declare that the parameter should be treated as a password (among other options.) The parameter is then encrypted and obfuscated. You can use it the same way you would any other build parameter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a ticketing system for a local hosting company and one of the
I'm developing an App for a Taxi company for my final year project. I'm
I have been developing a parental control software program for my company, but have
As a company specialized in developing custom CMS, we have been asked to deploy
We are developing a very simple first stage GUI for a company database. At
Our company is developing an internal project to parse text files. Those text files
I have been developing a WCF project that will expose web services (HTTP-based) that
My company is currently developing a project management web application in PHP, and I
My company is planning on developing for Windows Phone 7. The build server we
We are developing automation code that runs against multiple different versions of our company's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.