Home
Explore
Submit Search
Upload
Login
Signup
Advertisement
Check these out next
Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...
Puppet
[Image Results] Java Build Tools: Part 2 - A Decision Maker's Guide Compariso...
ZeroTurnaround
Welcome to Jenkins
Somkiat Puisungnoen
Docker
The Software House
Использование Docker в CI / Александр Акбашев (HERE Technologies)
Ontico
Modern Infrastructure from Scratch with Puppet
Puppet
CI : the first_step: Auto Testing with CircleCI - (MOSG)
Soshi Nemoto
為 Node.js 專案打造專屬管家進行開發流程整合及健康檢測
謝 宗穎
1
of
64
Top clipped slide
Jenkins and Groovy
Feb. 25, 2011
•
0 likes
6 likes
×
Be the first to like this
Show More
•
2,699 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Download Now
Download to read offline
Report
Technology
Kiyotaka Oku
Follow
Programmer at New Cast Co LTD
Advertisement
Advertisement
Advertisement
Recommended
Grooving with Jenkins
Anton Weiss
2.5K views
•
24 slides
Capistrano与jenkins(hudson)在java web项目中的实践
crazycode t
1.1K views
•
80 slides
Vagrant plugin development intro
Budh Ram Gurung
435 views
•
21 slides
Nodejs Intro - Part2 Introduction to Web Applications
Budh Ram Gurung
2.6K views
•
32 slides
Nodejs Intro Part One
Budh Ram Gurung
2.9K views
•
50 slides
探討Web ui自動化測試工具
政億 林
3.6K views
•
40 slides
More Related Content
Slideshows for you
(20)
Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...
Puppet
•
5K views
[Image Results] Java Build Tools: Part 2 - A Decision Maker's Guide Compariso...
ZeroTurnaround
•
90K views
Welcome to Jenkins
Somkiat Puisungnoen
•
1.7K views
Docker
The Software House
•
1.9K views
Использование Docker в CI / Александр Акбашев (HERE Technologies)
Ontico
•
465 views
Modern Infrastructure from Scratch with Puppet
Puppet
•
1.9K views
CI : the first_step: Auto Testing with CircleCI - (MOSG)
Soshi Nemoto
•
1.1K views
為 Node.js 專案打造專屬管家進行開發流程整合及健康檢測
謝 宗穎
•
1.4K views
Testing - Selenium? Rich-Clients? Containers?
Tobias Schneck
•
567 views
JCConf 2015 workshop 動手玩 Java 專案建置工具
謝 宗穎
•
2.8K views
Drive chrome(headless) with puppeteer
VodqaBLR
•
1.9K views
GlassFish Embedded API
Eduardo Pelegri-Llopart
•
1.1K views
Puppet Camp Düsseldorf 2014: Continuously Deliver Your Puppet Code with Jenki...
Puppet
•
2.9K views
Groovy for System Administrators
Daniel Woods
•
2.8K views
Testing the Enterprise layers, with Arquillian
Virtual JBoss User Group
•
2.7K views
Jenkins 101: Getting Started
R Geoffrey Avery
•
3.5K views
Puppeteer - Headless Chrome Node API
Wilson Su
•
2.1K views
Shestakov Illia "The Sandbox Theory"
LogeekNightUkraine
•
95 views
Jenkins Plugin Development With Gradle And Groovy
Daniel Spilker
•
2.2K views
Forget Grunt and Gulp! Webpack and NPM rule them all!
Derek Willian Stavis
•
969 views
Viewers also liked
(16)
Using Groovy with Jenkins
sascha_klein
•
2.8K views
Groovy DevOps in the Cloud for DevOpsDays in Ljubljana 2014
Andrey Adamovich
•
1.4K views
Groovy and Grails
GiltTech
•
916 views
A year in the life of a Grails startup
tomaslin
•
2.7K views
Groovy & Grails
Marcel Overdijk
•
7.7K views
Puppet & Jenkins
Matthew Barr
•
11K views
Synchronizing parallel delivery flows in jenkins using groovy, build flow and...
Andrey Devyatkin
•
1.5K views
Large scale automation with jenkins
Kohsuke Kawaguchi
•
15.2K views
Building an Extensible, Resumable DSL on Top of Apache Groovy
jgcloudbees
•
841 views
Yale Jenkins Show and Tell
E. Camden Fisher
•
19.4K views
Grails At Linked
LinkedIn
•
7.2K views
Continuous Development with Jenkins - Stephen Connolly at PuppetCamp Dublin '12
Puppet
•
33.3K views
Continuous Integration (Jenkins/Hudson)
Dennys Hsieh
•
44.2K views
CI and CD with Jenkins
Martin Málek
•
92.9K views
Configuration As Code - Adoption of the Job DSL Plugin at Netflix
Justin Ryan
•
68.3K views
Automated Deployment Pipeline using Jenkins, Puppet, Mcollective and AWS
Bamdad Dashtban
•
29.9K views
Advertisement
Similar to Jenkins and Groovy
(20)
JJUG CCC 2011 Spring
Kiyotaka Oku
•
1.6K views
Introduction to Gradle
Andrey Adamovich
•
8.9K views
Gradleintroduction 111010130329-phpapp01
Tino Isnich
•
363 views
Gradle Introduction
Dmitry Buzdin
•
7.6K views
Construire une application JavaFX 8 avec gradle
Thierry Wasylczenko
•
2.2K views
Writing your Third Plugin
Justin Ryan
•
31.3K views
Grails 1.2 探検隊 -新たな聖杯をもとめて・・・-
Tsuyoshi Yamamoto
•
1.4K views
お題でGroovyプログラミング: Part A
Kazuchika Sekiya
•
945 views
名古屋SGGAE/J勉強会 Grails、Gaelykでハンズオン
Tsuyoshi Yamamoto
•
1.8K views
把鐵路開進視窗裡
Wei Jen Lu
•
1K views
Vagrant for real codemotion (moar tips! ;-))
Michele Orselli
•
999 views
Get Grulping with JavaScript Task Runners (Matt Gifford)
Future Insights
•
2.2K views
Groovy & Grails: Scripting for Modern Web Applications
rohitnayak
•
1.9K views
Dropwizard and Friends
Yun Zhi Lin
•
2K views
GroovyServ - Technical Part
Yasuharu Nakano
•
1.2K views
Scripting GeoServer
Jared Erickson
•
3.3K views
JavaScript Assets & Packaging Overview
dimituri
•
338 views
Making the most of your gradle build - Gr8Conf 2017
Andres Almiray
•
412 views
10 Cool Facts about Gradle
Evgeny Goldin
•
6.8K views
Making the most of your gradle build - Greach 2017
Andres Almiray
•
991 views
More from Kiyotaka Oku
(20)
Osaka Venture Meetup #3
Kiyotaka Oku
•
381 views
巨大不明ビルドの継続的統合を目的とするビルドパイプラインを主軸とした作戦要綱
Kiyotaka Oku
•
1.9K views
BaseScriptについて
Kiyotaka Oku
•
1K views
javafx-mini4wd
Kiyotaka Oku
•
1.9K views
ミニ四駆ジャパンカップで勝つ方法を考える
Kiyotaka Oku
•
7K views
Jenkins plugin memo
Kiyotaka Oku
•
4K views
Spockの基礎
Kiyotaka Oku
•
3.9K views
JUC2012
Kiyotaka Oku
•
2.2K views
GDK48総選挙の裏側
Kiyotaka Oku
•
1.4K views
Jenkins入門
Kiyotaka Oku
•
2.4K views
Grails/Groovyによる開発事例紹介
Kiyotaka Oku
•
8.2K views
Griffon不定期便〜G*ワークショップ編〜
Kiyotaka Oku
•
1.8K views
日本Grails/Groovyユーザーグループ
Kiyotaka Oku
•
459 views
GroovyConsole2
Kiyotaka Oku
•
800 views
GroovyConsole
Kiyotaka Oku
•
1.3K views
Jenkinsプラグインの作り方
Kiyotaka Oku
•
9.8K views
Devsumi Openjam
Kiyotaka Oku
•
1.4K views
とある断片の超動的言語
Kiyotaka Oku
•
520 views
Mote Hudson
Kiyotaka Oku
•
1.3K views
Groovy and-hudson2
Kiyotaka Oku
•
637 views
Advertisement
Recently uploaded
(20)
REPORT: Heating appliances market in Poland 2022
SPIUG
•
2 views
State Of GPT
ssuser6f266e
•
0 views
CDP_Presentation.pptx
Abbas335883
•
2 views
KC - Kanban Coaching
Adail Viana Neto
•
4 views
901721_ch1.ppt
ThnhNguynVn97
•
0 views
Ga4 Recommended ecommerce events.pdf
Codilar Technologies
•
0 views
KMM - Kanban Maturity Model
Adail Viana Neto
•
7 views
Don’t Reinvent the Wheel: Pre-built Spatial and Data Enrichment APIs for Your...
Precisely
•
4 views
How to use ChatGPT for an ISMS implementation.pdf
Andrey Prozorov, CISM, CIPP/E, CDPSE. LA 27001
•
21 views
Ericsson LTE Commands.pdf
MbBot
•
4 views
Transforming Math Education: Harnessing the Power of Innovative Math Learning...
RobertWalsh104
•
0 views
Behind the scenes of our everyday Internet: the role of an IXP like MIX
Speck&Tech
•
0 views
Artificial Intelligence by BlooHack.pptx
qshshw11
•
0 views
Web3 vs metaverse.pdf
TarunTiwari94
•
0 views
Web Performance Optimization
Livares Technologies Pvt Ltd
•
0 views
Multi Standard Mixed Mode.pdf
MbBot
•
3 views
MINOR PROJECT.pptx
YashikaSengar2
•
0 views
Fab library construction protocol.pdf
AliceChang70
•
0 views
SAUTER certified buildings.pptx
GraziellaCathleen
•
4 views
cross over cabling.ppt
JoeyGarancho1
•
2 views
Jenkins and Groovy
Jenkins
Groovy
(@kiy0taka id:kiy0taka)
Grails/Groovy Jenkins Plugin Terminal jQuery jQuery UI LT Hudson http://www.ustream.tv/recorded/10801838
Jenkins
Grape Maven/Ivy
jar 2
Grape @Grab(‘groupId:artifactId:version’) import groovy.grape.Grape Grape.grab(group:'groupId', module:'artifactId',
version:'version') grape install <groupId> <artifactId> <version>
@Grab
( ) @Grab('org.apache.poi:poi:3.2-FINAL') import org.apache.poi.hssf.usermodel.* def workBook = new HSSFWorkbook(new File('./foo.xls') workBook.newInputStream()).sheets.each { sheet -> sheet.firstRowNum.upto(sheet.lastRowNum) { sheet.getRow(it).with { row -> row.firstCellNum.upto(row.lastCellNum - 1) { println row.getCell(it).stringCellValue } } } }
@Grab
( ) @Grab('org.mortbay.jetty:jetty-embedded:6.1.25') @Grab('com.h2database:h2:1.2.144') @Grab('mysql:mysql-connector-java:5.1.13') import org.mortbay.jetty.Server import org.mortbay.jetty.servlet.Context import org.h2.server.web.WebServlet def server = new Server(8080) new Context(server, "/", Context.SESSIONS) .addServlet(WebServlet, "/*") server.start()
http://groovy.codehaus.org/Download $
unzip groovy-binary-1.7.8.zip -d $JENKINS_HOME/tools/ $ chmod -R +x /opt/groovy-1.7.8/ $ export GROOVY_HOME=/opt/groovy-1.7.8/ $ export PATH=$GROOVY_HOME/bin
groovysh
groovyConsole
�
Groovy Jenkins Groovy Jenkins Jenkins
Groovy
Jenkins
Groovy $JENKINS_HOME/init.groovy http://jenkinsserver/script Jenkins
CLI Groovy Jenkins groovysh Jenkins
init.groovy $JENKINS_HOME/init.groovy Post-initialization script import hudson.model.*; //
start in the state that doesn't do any build. Hudson.instance.doQuietDown(); http://wiki.jenkins-ci.org/display/JENKINS/Post-initialization+script
Groovy
Jenkins http://jenkinsserver/script
Jenkins CLI (Script)
$ java -jar jenkins-cli.jar > -s http://jenkinsserver > groovy hoge.groovy http://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console http://scriptlerweb.appspot.com/
Jenkins CLI (groovysh) $
java -jar jenkins-cli.jar > -s http://jenkinsserver groovysh
... Groovy groovysh
JenkinsGroovyConsole GroovyConsole
Jenkins GroovyConsole jenkins-cli.jar groovy JenkinsGroovyConsole [jenkins_url] https://gist.github.com/843507
@GrabResolver('http://maven.glassfish.org/content/groups/public/') @Grab('org.jenkins-ci.main:cli:1.398') import hudson.cli.CLI import groovy.ui.Console jenkinsUrl
= args ? args[0] : 'http://localhost:8080' Console.metaClass.newScript = { ClassLoader parent, Binding binding -> delegate.shell = new GroovyShell(parent, binding) delegate.shell.metaClass.run = { String scriptText, String fileName, List list -> def file = File.createTempFile('jenkinsgroovyconsole', '.groovy') file.text = scriptText new CLI(jenkinsUrl.toURL()).execute(['groovy', file.absolutePath], System.in, System.out, System.err) file.delete() null } } new Console(Console.class.classLoader.getRootLoader()).run()
Demo
(JNLP) (SSH) -Dmven.test.skip=true
CI
Groovy
Jenkins Groovy
1. Groovy
2. Groovy
http://groovy.codehaus.org/Download $ unzip groovy-binary-1.7.8.zip -d $JENKINS_HOME/tools/ $ chmod -R +x $JENKINS_HOME/tools/groovy-1.7.8/
3. Jenkins http://jenkinsserver/configure
Groovy Job
Commons VFS Jenkins
IRC Bot
Groovy
Grails/Groovy (JGGUG) http://www.jggug.org (?) G*Magazine http://grails.jp/g_mag_jp/
Editor's Notes
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Advertisement