๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
728x90

Pipeline1

Jenkins: ์ง€์†์  ํ†ตํ•ฉ๊ณผ ๋ฐฐํฌ์˜ ํ•ต์‹ฌ Jenkins: ์ง€์†์  ํ†ตํ•ฉ๊ณผ ๋ฐฐํฌ์˜ ํ•ต์‹ฌ 1. Jenkins ์†Œ๊ฐœ 1.1 Jenkins๋ž€? Jenkins๋Š” ์†Œํ”„ํŠธ์›จ์–ด ๊ฐœ๋ฐœ ํ”„๋กœ์„ธ์Šค๋ฅผ ์ž๋™ํ™”ํ•˜๊ธฐ ์œ„ํ•œ ์ง€์†์  ํ†ตํ•ฉ ๋ฐ ์ง€์†์  ๋ฐฐํฌ(CI/CD) ๋„๊ตฌ ์ค‘ ํ•˜๋‚˜์ž…๋‹ˆ๋‹ค. Jenkins๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์†Œ์Šค ์ฝ”๋“œ์˜ ๋นŒ๋“œ, ํ…Œ์ŠคํŠธ, ๋ฐฐํฌ ๋“ฑ์„ ์ž๋™ํ™”ํ•˜์—ฌ ํ’ˆ์งˆ ํ–ฅ์ƒ๊ณผ ๊ฐœ๋ฐœ ์ƒ์‚ฐ์„ฑ์„ ์ฆ๊ฐ€์‹œํ‚ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. 2. Jenkins ํ™œ์šฉ ๊ฐ€๋Šฅํ•œ ๋ฐฉ๋ฒ•๋“ค 2.1 ์ž๋™ ๋นŒ๋“œ Jenkins๋Š” ์ฝ”๋“œ ๋ณ€๊ฒฝ ๊ฐ์ง€ ์‹œ ์ž๋™์œผ๋กœ ๋นŒ๋“œ๋ฅผ ์ˆ˜ํ–‰ํ•˜์—ฌ ๋ฌด๊ฒฐ์„ฑ์„ ๊ฒ€์ฆํ•ฉ๋‹ˆ๋‹ค. ์•„๋ž˜๋Š” Jenkins์—์„œ Freestyle ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•˜์—ฌ ๊ฐ„๋‹จํ•œ ๋นŒ๋“œ ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค. Freestyle Project ์˜ˆ์ œ Jenkins ๋Œ€์‹œ๋ณด๋“œ์—์„œ "์ƒˆ๋กœ์šด Item"์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ ์ด๋ฆ„์„ ์ž…๋ ฅํ•˜๊ณ , .. 2024. 2. 14.