My First Build

I set up a new build

Hit the General Tab:

image

Updated the Trigger:

image

Change the workspace from the main branch to the release one:

image

Put in a build target on my local file system:

image

And then finally specified the items to build:

image

I then opened my Release project and changed the configuration to Release:

image

I clicked on Build Solution and nothing happened -> good.

I then checked in the Project and nothing happened -> bad.

I went to the Build Explorer and clicked on “Queue Build” and selected the build that I just created. Luckily, the build tried to run and it failed:

image

And the error was that the folder didn’t exist:

image

And this is the reason why:

image

Changing the permission to the folder for everyone to get full control -> and it is still not working.

I then Binged the error code: TFS Build Failed to create directory. Details: The network name cannot be found.

I gave up and stopped trying to write to that file and pointed to \\DIXON08\Users\Public\Builds and made some progress.

I ran across this error next: The build controller Default Controller – dixon08 does not contain an enabled build agent with name * and no tags.

I then went to TFS Admin Console – yup, no build agent (I must have deleted it when I was getting rid of the project groups). I added an agent:

image

And Boom goes the dynamite:

image

And:

image

I then added a project alert for the build (team-> project alerts):

image

Now, I need to move the build onto our production server, perhaps like this.

Now, I want to ftp my build out to winhost.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: