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
jobs = jenkins.model.Jenkins.instance.items | |
oldJDK = jenkins.model.Jenkins.instance.getJDK("JavaSE 8u40") | |
newJDK = jenkins.model.Jenkins.instance.getJDK("JavaSE 8u45") | |
jobs.each { | |
if (it.JDK == oldJDK) { | |
it.JDK = newJDK | |
it.save() | |
println "updated ${it.name}" | |
} |
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" ToolsVersion="14.0"> | |
<PropertyGroup> | |
<Param>Default</Param> | |
</PropertyGroup> | |
<Target Name="Hello"> | |
<Message Text="Hello $(Param) さん" /> | |
</Target> | |
</Project> |
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
using System; | |
using System.Data.SqlClient; | |
using System.Diagnostics; | |
namespace NETCore | |
{ | |
class Program | |
{ | |
static string connstr = @"Data Source=localhost;Initial Catalog=master;Integrated Security=True;Connect Timeout=5;Encrypt=False;"; |
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 [master] | |
create database [SchemaTest] containment=partial | |
go | |
use [SchemaTest] | |
go | |
-- スキーマ | |
create schema [S1] | |
go | |
create schema [S2] |
OlderNewer