From 9ac0b28346d4442664d8286899dc776b89d43cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E5=85=89=E4=BB=B2?= <282741857@qq.com> Date: Wed, 16 Apr 2025 10:55:59 +0800 Subject: [PATCH] add Jekninsfile --- Jenkinsfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..1f9e673 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,26 @@ +pipeline { + agent any + + // environment { + // NODEJS_HOME = '/usr/local/nodejs' // Adjust this path to your Node.js installation + // PATH = "${NODEJS_HOME}/bin:${env.PATH}" + // } + + stages { + stage('📄文件信息') { + steps { + sh 'pwd' + sh 'ls -al' + } + } + } + + post { + success { + echo 'Deployment successful!' + } + failure { + echo 'Deployment failed.' + } + } +} \ No newline at end of file