Where can we open the `Post-build script` box of a build process template?

2.6k views Asked by At

As guided here, we can add extra script to run along the build process.

I can't find where to open this dialog to put my script in the post-build box.

Where is it?

Update

I go for Edit a build definition - Process section and just see the below properties.

enter image description here

3

There are 3 answers

4
Adarsh Shah On

Right click on your build definition and select edit. Once in that screen select option "Process" on the left and then expand the Advanced section and you should find it there.

enter image description here

1
user2359695 On

If you are talking about a post-build event, then you can do it by right clicking on the Project and going to Properties. The is a Build Events tab on the left hand side. You can write pre-build and post-build events in the relevant editors.

0
Dan Esparza On

Using the Post-build script path depends entirely on the Build process template you're using. Some templates have this option, others don't.

I recommend using the TfvcTemplate.12.xaml mentioned by @adarsh-shaw in his answer. (Look at the nice screenshot he included in his answer)