Más contenido relacionado La actualidad más candente (19) Similar a Hudson以外の何か with 任意 (20) Hudson以外の何か with 任意1. Hudson with
bleis-tift
May 28, 2011
10. 1 CI
.
2
.
Perl Git Groovy Ruby
F#
83. 4.
Jenkins Windows
cygrunsrv
Ruby Perl Python
TCP
100
87. 5. 6.
Job Build
Ruby
Scala F# JVM
F #
91. Ruby IP
F# 1 Job
Ruby 3 IP
101. F#
use provider = new FSharpCodeProvider()
let src = "module Tempn
let body (arg: " + argType + "): " +
retType + " =n" + expr
let param = CompilerParameters(
GenerateInMemory=true)
let res = provider
.CompileAssemblyFromSource(param, src)
let asm = res.CompiledAssembly
let t = asm.GetType("Temp")
t.GetMethod("body").Invoke(null, arg)
108. fsi
-r fsi.exe dll
dll fsi
109. fsi
-r fsi.exe dll
dll fsi
REPL
110. fsi
-r fsi.exe dll
dll fsi
REPL
177. push or reset
if (manager.build.result == hudson.model.Result.SUCCESS) {
def res = "git push origin master".execute().waitFor()
if (res == 0)
return
manager.buildFailure()
}
def commits = manager.build.changeSet.items
if (commits.length == 0)
return
def scm = manager.build.project.scm
def repo = scm.repositories[0].getURIs()[0].toString()
def parent = commits[0].parentCommit
def reset = "git --git-dir=$repo/.git reset --soft $parent"
reset.execute().waitFor()
180. Ruby
s = new java.net.Socket("localhost", 10000)
s << (manager.build.project.name + "n"
+ manager.build.number + "n")
s.close()
182. Cygwin Windows
Windows F# C#
183. Cygwin Windows
Windows F# C#
cygrunsrv Cygwin
204. Notifier.fs
module Notifier
open JobNotifier.Gui
let notify (app: App) (job: Jenkins.Job.t) (build: Jenkins.Build.t) _ _ =
let icon =
match build.Result with
| "SUCCESS" -> App.Icon.Info
| "FAILURE" -> App.Icon.Error
| _ -> App.Icon.Warning
app.ShowBalloonTip(icon, job.Name + " : " + build.Result)