From 2d8d4e2ad8cdf53deba92d55791a4103295746d7 Mon Sep 17 00:00:00 2001 From: zio Date: Mon, 1 Jun 2026 19:51:44 +0900 Subject: [PATCH] ci: update Jenkinsfile for CI/CD pipeline --- Jenkinsfile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 47155f2..94fd674 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,12 +1,12 @@ -pipeline { - agent any - environment { DOCS = '/var/www/docs' } - options { buildDiscarder(logRotator(numToKeepStr: '3')) } - stages { - stage('Checkout') { steps { checkout scm } } - stage('Deploy') { - when { branch 'main' } - steps { sh 'mkdir -p ${DOCS} && cp -r . ${DOCS}/' } - } - } +pipeline { + agent any + environment { DOCS = '/var/www/docs' } + options { buildDiscarder(logRotator(numToKeepStr: '3')) } + stages { + stage('Checkout') { steps { checkout scm } } + stage('Deploy') { + when { branch 'main' } + steps { sh 'mkdir -p ${DOCS} && cp -r . ${DOCS}/' } + } + } } \ No newline at end of file