About      |       Articles      |      Services      |      Software      |      Contact

Latest Free SharePoint Software

ARB Security Solutions regularly releases free SharePoint software, including WebParts, Client Applications, Framework Extensions, and other Miscellaneous Components.
The most recent freeware is:

Title: Simple SharePoint Rollup WebPart
Date Published: 10/22/2009

Previous Two Free WebPart Releases:

SecureCenter For SharePoint

By SharePoint security integrators, for SharePoint security integrators.

SharePoint Security Assurance Program™

For externally facing SharePoint deployments, security is an acutely important deployment concern. Learn how through daily security scanning, you can ensure external business users and partners that they can collaborate in confidence!

Security Assurance WebPart:



Chaining SharePoint Builds Status

So I am still in migration hell and fixing some build code. One of the problems we just ran into was chaining build events. Consider if you had SharePoint project X which contained and Exec command that triggered SharePoint project Y. The goal of their custom build is to query into the build status of SharePoint project Y, and display the build status in SharePoint project X's build status. Put simply, I needed a mechanism where Project Y build status, like whether it returns Success, Partial Success, etc.

Fortunately, this isn't terribly difficult using the Exec task to execute a command leveraging the exitcode to get the status. This looks like the following:

XML:
  1. <Target Name="MyBuildTarget">
  2.     <Exec Command="tfsbuild start /server:myserver /builddefinition:\mytfsproject\buildprojectb" ContinueOnError="true">
  3.       <Output  TaskParameter="ExitCode" PropertyName="BuildProjectExitCode"/>
  4.     </Exec>
  5.      <Message Text="BuildProjectExitCode=$(BuildProjectExitCode)"></Message>
  6.   </Target>

The exitcode return will be an integer, which is easy to correlate to the respective return values, Failure is 100, Partial Success is 1, Success is 0, Unknown is -1, and Unrecognized Command is 2.

  • Share/Bookmark

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment