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
import hudson.FilePath; | |
// Size(in byte) of log that you want to display. | |
def logLength = 400 | |
def myBuildStatus = manager.build.result.toString() | |
//manager.listener.logger.println("$myBuildStatus"); | |
//manager.logContains("^Build FAILED.") | |
if(myBuildStatus == "SUCCESS") { |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<WorkingDirectory>$(WORKSPACE)</WorkingDirectory> | |
<EnvironmentName>$(Environment)</EnvironmentName> | |
<devEnvTool Condition="'$(devEnvTool)'==''">C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe</devEnvTool> | |
</PropertyGroup> | |
<!--Build using Devenv.exe--> | |
<!--MSBuild Batching: Target batching (Outputs)--> |
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
# Customize / optimize as necessary. | |
# This could probably change to plain Windows Server Core as a base-image. | |
FROM microsoft/iis:10.0.14393.206 | |
SHELL ["powershell"] | |
RUN Invoke-WebRequest "https://download.microsoft.com/download/9/B/B/9BB1309E-1A8F-4A47-A6C5-ECF76672A3B3/BuildTools_Full.exe" -OutFile "$env:TEMP\net.exe" -UseBasicParsing | |
RUN & "$env:TEMP\net.exe" /Silent /Full | |
RUN Install-WindowsFeature NET-Framework-45-ASPNET ; \ |
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
import os | |
import shutil | |
import subprocess | |
import time | |
from datetime import datetime | |
import snowflake.connector | |
import logging | |
# Information for Snowflake | |
SNOWSQL_ACCOUNT = "XXXXXXXXX.east-us-2.azure" |
OlderNewer