Compare commits

...

2 Commits

Author SHA1 Message Date
zio
2d8d4e2ad8 ci: update Jenkinsfile for CI/CD pipeline 2026-06-01 19:51:44 +09:00
zio
0e7458caf1 ci: add Jenkinsfile 2026-06-01 01:12:54 +09:00

12
Jenkinsfile vendored Normal file
View File

@ -0,0 +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}/' }
}
}
}