This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def myWorkdSpace = "$workSpace" | |
def files = buildFileList(myWorkdSpace) | |
def buildFileList(dirname) { | |
def files = [:] | |
def dir = new File(dirname) | |
if( dir.directory ) { | |
dir.listFiles().each { | |
def path = it.absolutePath | |
if( it.directory ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SVN add --username MyUser --password MyUserP@ss --force * --auto-props --parents --depth infinity | |
SVN commit --username MyUser --password MyUserP@ss -m "Daily Checkin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install SqlServer and TFS | |
cinst VisualStudioTeamFoundationServerExpress2013 | |
cinst MsSqlServer2012ExpressWithReporting | |
#Configure SQL Reporting Services | |
$rsConfig = (Get-WmiObject ` | |
-namespace "root\Microsoft\SqlServer\ReportServer\RS_MSSQLSERVER\v11\admin" ` | |
-class "MSReportServer_ConfigurationSetting") | |
#Configuring Reporting Server Virtual Directories |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE PROC [dbo].[Job_FailaureMonitoring] | |
@HourInterval int = 24 | |
,@recipients varchar(4000) | |
,@profile_name nvarchar(128) | |
,@debug bit = 0 | |
AS | |
SET NOCOUNT ON | |
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED | |
BEGIN TRY | |
declare @body varchar(max) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [msdb] | |
GO | |
CREATE PROC [dbo].[EmailLastFailedStep_SendErrorMessage] | |
@JobName nvarchar(128) | |
,@recipients varchar(4000) | |
,@profile_name nvarchar(128) | |
,@debug bit = 0 | |
AS | |
SET NOCOUNT ON | |
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED |
NewerOlder