add Jekninsfile
parent
dfbe825e39
commit
9ac0b28346
@ -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.'
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue