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 4558936
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T17:43:06+00:00 2026-05-21T17:43:06+00:00

The CruiseControl.Net tfs integration requires a username and password for a user with rather

  • 0

The CruiseControl.Net tfs integration requires a username and password for a user with rather high privileges to be stored in the configuration files. I’m not very fond of that, and have tried to think of ways to have the password stored securely and yet maintain fully automated builds.

Powershell has good support for this with the ConvertTo-SecureStringand ConvertFrom-SecureString commands, and something like this would handle the encryption:

"password-string" | ConvertTo-SecureString -AsPlainText -Force | Out-File pwd.dat

And this could handle decryption:

$user = "mydomain\myuser"
$pwd = Get-Content pwd.dat | ConvertFrom-SecureString
$cred = New-Object System.Management.Automation.PSCredential($user, $pwd)

CruiseControl.Net has a <powershell> task that can be used for running powershell scripts, but I’m unsure whether this can be made to return anyhting. I’m wondering if anyone has any ideas on how to implement secure passwords with CruiseControl.Net? Using Powershell isn’t necessary, I’m just figuring it would be neat.

  • 1 1 Answer
  • 3 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-05-21T17:43:07+00:00Added an answer on May 21, 2026 at 5:43 pm

    Found a workaround at least: if you omit the <user>,<password> and <domain> parameters, CruiseControl will use the credentials for the user running the service.

    The more general question, whether it is possble to catch output remains to be tested. I guess it could be possible to set an environment variable using [system]::SetEnvironmentVariable(name,value), but I haven’t tested this.

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

Sidebar

Related Questions

I have downloaded cruisecontrol.net setup and have installed it in C:\Program Files\CruiseControl.NET . It
We're using CruiseControl.Net to do our continuous integration of our web applications. we build
We're currently using CruiseControl.NET as a continuous integration server for a number of ASP.NET
I am learning about CruiseControl.NET to implement continuous integration into my open source project.
We are investigating using CruiseControl.NET as both a Continues Integration build provider, as well
I am using CruiseControl.Net for continuous integration and I know how to have CruiseControl.Net
I'm just getting started with CruiseControl .NET (using the Manning Continuous integration book that
When I launch CruiseControl.NET with a particular configuration file I receive the following error:
CruiseControl.net creates (by default) for each project a subdirectory under: c:\Program File\CruiseControl.NET\server How can
In CruiseControl.NET there appears to be the same xsl stylesheets in the server directory

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.