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

  • SEARCH
  • Home
  • 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 9139679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:25:08+00:00 2026-06-17T09:25:08+00:00

Teamcity doc says ‘uses standard Perforce environment variables as global variables’. These are set

  • 0

Teamcity doc says ‘uses standard Perforce environment variables as global variables’. These are set according to p4 set

$ p4 set
P4CLIENT=aa (set)
P4EDITOR=C:\Program Files (x86)\Notepad++\notepad++.exe (set)
P4IGNORE=C:\Code\p4ignore.txt (set)
P4PASSWD=AA63AEBCFF2322ED61DB0B04D45 (set)
P4PORT=srvcrpsys52:1666 (set)
P4USER=irving.washington (set)

Yet Teamcity in Visual studio gives me this error when I try to test the connection. What’s going on?

enter image description here

  • 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-17T09:25:09+00:00Added an answer on June 17, 2026 at 9:25 am

    Environment Variables are not exactly the same as ‘p4 set’ variables. ‘p4 set’ can record things in the registry, in a place where Perforce tools know to look, but other tools may not know to look there.

    Try using real Environment Variables, by going into your Start menu for “About This Computer”, navigating to the Environment variables table, and setting the environment variables there ( and possibly re-logging in or re-booting after setting them; depending on whether you made them User environment variables or System environment variables ), then see if TeamCity recognizes the settings.

    You can tell that you have set real Environment Variables because the command-line prompt shows them if you do:

    $ set P4
    

    Note that this is ”’different”’ from

    $ p4 set
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've set up TeamCity on a Linux (Ubuntu) box and would like to use
My TeamCity's nightly build produces more than 130Mb java doc as Build Configuration artifact.
I use Teamcity on Windows 2003/IIS 6 for my continous integration environment. I use
Plugin nunit for TeamCity uses its own build, where you can find the source
I'm setting up TeamCity as my build server. I have my project set up,
Environment: TeamCity 6.5.1 on Win2k3, BuildAgent(s) on Win2k3, Visual Studio 2k10, .NET v4, Nant
These questions are for TeamCity users only 1) Is it possible to configure TeamCity
I've set up TeamCity to notify the whole team when a new internal release
We have a TeamCity build server with a couple of agents set up to
I'm using TeamCity for my CI builds, and I'd like to set up a

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.