This file contains hidden or 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
==> default: * runit_service[artifactory] action restart | |
==> default: | |
==> default: | |
==> default: | |
==> default: ================================================================================ | |
==> default: | |
==> default: Error executing action `restart` on resource 'runit_service[artifactory]' | |
==> default: | |
==> default: ================================================================================ | |
==> default: |
This file contains hidden or 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
==> default: [2016-02-08T03:44:33-08:00] INFO: Installing ContinuousDeliveryPipelineDemo.Web to version 0.0.1 | |
==> default: | |
==> default: Converging 12 resources | |
==> default: * chef_gem[win32-api] action install | |
==> default: * chef_gem[win32-service] action install | |
==> default: * chef_gem[windows-api] action install | |
==> default: * chef_gem[windows-pr] action install (up to date) | |
==> default: | |
==> default: * chef_gem[win32-dir] action install | |
==> default: * chef_gem[win32-event] action install |
This file contains hidden or 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
task PushChocolateyPackage { | |
$file = @(Get-Item $build_output_dir\*.nupkg)[0] | |
Write-Host "Installing NuGet" | |
Exec { choco install nuget.commandline } | |
Write-Host "Setting api key" | |
Exec { choco apikey -k $apiKey -s $chocolateySource } |
This file contains hidden or 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
<asp:TemplateField HeaderText="Required:" HeaderStyle-ForeColor="#008356" HeaderStyle-Font-Size="11px" | |
ItemStyle-Font-Size="11px"> | |
<EditItemTemplate> | |
<asp:TextBox ID="txtRequired" runat="server" ForeColor= "red" Font-Size ="11px" Font-Names="Trebuchet MS" width="40px" Text='<%# Bind("ASAuditRequired") %>'></asp:TextBox> | |
<asp:Label ID="lblRequired" Visible="false" runat="server" Text='<%# Bind("ASAuditRequired") %>'></asp:Label> | |
</EditItemTemplate> | |
<FooterTemplate> | |
<asp:TextBox ID="txtNewRequired" runat="server"></asp:TextBox> | |
</FooterTemplate> | |
<ItemTemplate> |
This file contains hidden or 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
<asp:TemplateField HeaderText="API Source:" HeaderStyle-ForeColor="#008356" HeaderStyle-Font-Size="11px" | |
ItemStyle-Font-Size="11px"> | |
<EditItemTemplate> | |
<asp:TextBox ID="txtAPISource" runat="server" ForeColor= "red" Font-Size ="11px" Font-Names="Trebuchet MS" width="200px" Text='<%# Bind("ASAPISource") %>'></asp:TextBox> | |
<asp:Label ID="lblAPISourceID" Visible="false" runat="server" Text='<%# Bind("ASID") %>'></asp:Label> | |
</EditItemTemplate> | |
<FooterTemplate> | |
<asp:TextBox ID="txtNewAPISource" runat="server"></asp:TextBox> | |
</FooterTemplate> | |
<ItemTemplate> |
This file contains hidden or 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
Param( | |
[string]$version | |
) | |
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition | |
$psake_module_dir = "$($scriptPath)\src\Parliament.CDP.Web\packages\psake.4.5.0\tools\psake.psm1" | |
## run our default built script | |
Import-Module $psake_module_dir; | |
Invoke-psake "$($scriptPath)\default.ps1" -t "default" -parameters @{"version"=$version} |
This file contains hidden or 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
#------------------------------------------------------------------------------- | |
# Update version numbers of AssemblyInfo.cs | |
#------------------------------------------------------------------------------- | |
function Update-AssemblyInfoFiles ([string] $version) { | |
$assemblyVersionPattern = 'AssemblyVersion\("[0-9]+(\.([0-9]+|\*)){1,3}"\)' | |
$fileVersionPattern = 'AssemblyFileVersion\("[0-9]+(\.([0-9]+|\*)){1,3}"\)' | |
$assemblyVersion = 'AssemblyVersion("' + $version + '")'; | |
$fileVersion = 'AssemblyFileVersion("' + $version + '")'; | |
Get-ChildItem -r -filter AssemblyInfo.cs | ForEach-Object { |
This file contains hidden or 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
properties { | |
$testMessage = 'Executed Test!' | |
$compileMessage = 'Executed Compile!' | |
$cleanMessage = 'Executed Clean!' | |
} | |
task default -depends Test | |
task Test -depends Compile, Clean { | |
$testMessage |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# Every Vagrant virtual environment requires a box to build off of. |
This file contains hidden or 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
var command = new SqlCommand("select * from person where firstname = @firstname"); | |
SqlParameter param = new SqlParameter(); | |
param.ParameterName = "@firstname"; | |
param.Value = "testing12'3"; | |
command.Parameters.Add(param); |