Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Jenkinsの構成・運用パターン

 Jenkinsの構成・運用パターン

2020年1月31日開催 Game Developers Meeting Vol.40 エンジニア向け勉強会 の登壇資料です
「Jenkinsの構成・運用パターン」開発技術部/粉川 貴至

SEGADevTech

July 15, 2022
Tweet

More Decks by SEGADevTech

Other Decks in Programming

Transcript

  1. ώЄϭ憒ཛྷ ̿Roles in Game Tools Development̀ http://www.productivityengineer.com/tool-development-roles Victor StepanovͫΩ΄懿Ԫ !5

    ϑЄϸ೅୮΁ϢζЄθφͭ͵懿Ԫͽ̵ͯ͢
 Jenkins೅୮΁Θ୮ͼ΅ΗΟ΢Ρ᮱ړ͢ग़͚
  2. ώЄϭ֛ګ • Jenkins೅୮͢樛ΥΡ塅㾨΅䓈͚ • Jenkins厏ह΄䯤塈 • ϤϺν϶ϫੀΠ΄च๜ጱ΀ᛔ㵕۸厏ह • Ϡϸϖ̵ϓφϕҁ̵ϔϤϺα҂ •

    ΞΠ䓈͚ᛔ㵕۸ • ίψϐϕϔЄόҁϹϦϸϔσαЀ̵ίЄϕ̵ςγЀϖ҂΄πЀϝЄϕ̵ ϓφϕ̵ᛔ㵕۸㳌ቘ • QAᛔ㵕۸ • ϞαϤ϶αЀ΄ᛔ㵕۸ҁBTS昧൭̵ϞϐξЄυЀν҂ !7
  3. 奺浞ֺ1 ϮαЀϤϺν϶ϫ ώЄϭ憒ཛྷғੜ뺶Ӿ όЄοϐϕϤ϶ϐϕϢζЄϭғίЄξЄϖ 樄咲厏हғWindows JenkinsςϪЄϕ WindowsϫφόЄ Win 䋚䱛 Ϡϸϖ

    πЀϝЄϕ ϔϤϺα ϓφϕ Jenkins戔ਧ ڡ๗υϴϣ֢౮ ϕ϶ϣϸτϲЄϓΰЀν ᛔ㵕۸䭥戣 Jenkins晁አ
  4. 奺浞ֺ2 ϮαЀϤϺν϶ϫ Jenkins ᓕቘώЄϭ ώЄϭ憒ཛྷғੜ뺶Ӿ όЄοϐϕϤ϶ϐϕϢζЄϭғϯϝαϸ ֵአοЄϭεЀυЀғUnity 樄咲厏हғWindows̵Mac JenkinsςЄϝ厏हғLinux Win

    Mac ϮαЀϤϺν϶ϫ Win Mac ϮαЀϤϺν϶ϫ Win Mac αЀϢ϶೅୮ Ϡϸϖ Ϡϸϖ Ϡϸϖ Jenkins戔ਧ独כਝ Jenkins䱛ᚆ᭄ے䌏䖕
  5. 奺浞ֺ3 ϮαЀϤϺν϶ϫ ϤϺν϶ϫ ҁϑЄϸّձ҂ Jenkins αЀϢ϶ϑЄϸ QAεЀυϘίϷЀν ҁّձ҂ ώЄϭ憒ཛྷғӾ뺶य़ όЄοϐϕϤ϶ϐϕϢζЄϭғπЀϊЄϸ

    樄咲厏हғWindows JenkinsςЄϝ厏हғLinux Win Win Win Win Win Win 䋚䱛 䋚䱛 䋚䱛 䋚䱛 䋚䱛 䋚䱛 Win Win 䯭̸΀αЀϢ϶ϑЄϸ ᛔ㵕ϓφϕ厏ह αЀϢ϶೅୮ Ϡϸϖ πЀϝЄϕ ᛔ㵕㳌ቘ ϞϐξЄυЀν̵ϔϤϺα̵ϓφϕ ଏ䓈ͥ
 ṛଶ΀䌏䖕
  6. Full Stack Jenkins Administrator • Jenkinsᓕቘ • Ӟᛱጱ΀WebςЄϠφϤ϶ϐϕϢζЄϭ䯤塈独ᓕቘᎣ挷ҁLinux, Windows, Mac҂

    • Ӟᛱጱ΀WebςЄϠφ晁አᎣ挷ҁίθγЀϕ独䰱ᴴᓕቘ҂ • ஠ᥝ΀ᛔ㵕۸㳌ቘ΄͵Η΄Jenkins䌏䖕ҁϤ϶ναЀ᭄ے̵υϴϣ戔ਧ҂ • JenkinsӤGroovyφμϷϤϕΨֵ͹͵ṛଶ΀晁አ䌏䖕奺浞 • Jenkins΄Ϥ϶ναЀ֢౮奺浞 • Jenkins΄ϊЄφπЄϖ͢஠ᥝ΁䖕ͮͼ抎ΗΡ • Jenkinsᓕቘ̵晁አΨφϭЄχ΁ᤈ͜͵Η΄Ӟ揢௔΄͘Ρ䯤౮戔懯̵෈ᒍ۸̵
 πϬϲϘξЄτϴЀ !13
  7. • ϤϺυδμϕͽֵአͯΡ樄咲厏ह΄䯤塈 • όЄοϐϕϤ϶ϐϕϢζЄϭݻͧ樄咲厏ह΄ψϐϕίϐϤᎣ挷 • ϯϝαϸҁiOS̵Android҂ݻͧ • πЀϊЄϸݻͧ • ςЄϝ㯎

    • ͳ΄՜ • 厏ह͢φξЄϸݢᚆ΁΀ΡΞ͜΁戔懯̵ಋ殼۸̵厏ह䯤塈΄ᛔ㵕۸ !14 Full Stack Jenkins Administrator
  8. • Ϡϸϖ • MSBuildΨֵ͹͵πϫЀϖ϶αЀϠϸϖ΄Ꭳ挷̵ε϶ЄϮϐψЄυ΄ቘᥴ̵䌏䖕奺浞 • Unityͽ΄πϫЀϖ϶αЀϠϸϖ΄Ꭳ挷̵ε϶ЄϮϐψЄυ΄ቘᥴ̵䌏䖕奺浞 • UE4ͽ΄πϫЀϖ϶αЀϠϸϖ΄Ꭳ挷̵ε϶ЄϮϐψЄυ΄ቘᥴ̵䌏䖕奺浞 • xcodebuildΨֵ͹͵πϫЀϖ϶αЀϠϸϖ;ޮ旽厏ह΄Ꭳ挷̵ε϶ЄϮϐψЄυ΄ቘᥴ̵䌏䖕奺浞

    • AndroidϠϸϖ厏ह΄Ꭳ挷̵ε϶ЄϮϐψЄυ΄ቘᥴ̵䌏䖕奺浞 • πЀϊЄϸ樄咲厏ह΁ͧ͠ΡϠϸϖϑЄϸ΄Ꭳ挷̵ε϶ЄϮϐψЄυ΄ቘᥴ̵䌏䖕奺浞 • ҁͳ΄՜匍䁰ͽֵአͭͼ͚Ρ҂ϠϸϖϑЄϸ΄πϫЀϖ϶αЀϠϸϖ΄Ꭳ挷̵ε϶ЄϮϐψЄυ΄ ቘᥴ̵䌏䖕奺浞 • Ϡϸϖ΁樛ΥΡεЀυЀ̵SDK̵πЀϞα϶ᒵ΄԰䟵௔Ύ΄ቘᥴ;抠䪨ᚆێ !15 Full Stack Jenkins Administrator
  9. • Ϡϸϖ뺶ᛔ㵕㳌ቘ • ϤϺυδμϕͽֵአͫ΢Ρݱ圵ϝЄυϴЀᓕቘϑЄϸ΁樛ͯΡᎣ挷;ᛔ㵕۸䌏䖕 • ϤϺν϶ϫ֢͢͹͵ᛔ㵕۸φμϷϤϕ΄JenkinsΎ΄奲Ε旿Ε • Windowsϝϐώ̵PowerShell̵bashᒵφμϷϤϕ᥺承΄Ꭳ挷 • ϞϐξЄυЀνᒵόЄοϐϕϤ϶ϐϕϢζЄϭ樄咲厏हͽᛔ㵕㳌ቘ΁ֵአͯΡݱ圵ϑЄϸ΄Ꭳ

    挷 • ϤϺν϶ϫզक़ݻͧ΄ίψϐϕϔЄόᛔ㵕㳌ቘ䌏䖕̵JenkinsΎ΄奲Ε旿Ε䌏䖕 • ᛔ㵕۸΄׏昲̵TA;΄昧൭̵೅୮ᘏ΄ᙙ౮独ςϪЄϕ̵๜搡ጱ΀㺔氂΄ᥴ䷥ • ӧ᪃ͭͼ͚Ρᛔ㵕۸㳌ቘΨᛔΟ֢Ρ • ᛔ㵕۸䌏䖕΁Ӟ揢௔Ψ೮͵ͱΡ͵Η΄ၚ㵕 !16 Full Stack Jenkins Administrator
  10. • ϓφϕ • πЀϞα϶ᦄޞ΄䜷͚΄Ꭳ挷;Jenkins;΄昧൭ • ҁ匍䁰΁㳷ͭ͵҂ϳϘϐϕϓφϕϢϹЄϭϼЄμ΄Ꭳ挷;ϓφϕ׏昲 • ͳ΄՜෬愚΄ϓφϕϑЄϸ΄Ꭳ挷;ၚአᎣ憎̵Jenkins;΄昧൭ • ίψϐϕϔЄό΁䌏ͯΡϓφϕΨJenkins厏हΎ奲Ε旿Ζ

    • οЄϭٖͽ䋚ᤈͯΡϓφϕ;Jenkins΄昧൭ • ӧ᪃ͭͼ͚Ρϓφϕ䱛ᚆ独䱛䯤ΨᛔΟ֢Ρ • 䌏᨝΄οЄϭ΁஠ᥝ΀ϓφϕ΁䌏ͯΡଏ䓈͚Ꭳ憎;ϓφϕ䜐ኼ΄ςϪЄϕ !17 Full Stack Jenkins Administrator
  11. • قͼΨ1ՈͽθϝЄͯΡξЄφ΅੝΀͚ • 䌏᨝Ψᴴਧ • ϤϺυδμϕ䌑ં • Ϥ϶ϐϕϢζЄϭ̵厏हΨᴴਧ • 㱢ضଶΨͺͧͼ䌏䖕

    • μ϶αίЀϕ㯎ͶͧҁςЄϝ㯎΅㳨҂ !19 • ړ೅;昧൭ • αЀϢ϶⁵Jenkins೅୮ • Jenkins೅୮⁵ϮαЀϤϺν϶ϫ • Jenkins೅୮⁵ϑЄϸώЄϭ • Jenkins೅୮⁵TAώЄϭ ེ΄ϯώϦЄτϴЀғ䜐ኼ;䋚֢䮣Ψ஀ۆړͧͭ͵͚ ώЄϭ憒ཛྷ̵֛ګ΁ݳΥͱ͵೅୮ٖ਻΁΀Ρ
 Jenkins೅୮΅஑఺ړᰀ̵岉ޱ塅㾨̵ፘ௔Θ᯿ᥝ