Added Jenkinsfile

This commit is contained in:
admin 2025-04-23 11:34:48 +08:00
parent 6d5d7909d8
commit 0c166a123d

19
Jenkinsfile vendored
View File

@ -1,11 +1,28 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('') { stage('source') {
steps { steps {
git(url: 'http://1.14.125.6:3000/wangyz/test001.git', branch: 'main') git(url: 'http://1.14.125.6:3000/wangyz/test001.git', branch: 'main')
} }
} }
stage('stage1') {
parallel {
stage('stage1') {
steps {
echo '123456'
}
}
stage('stage2') {
steps {
echo 'qazwsx'
}
}
}
}
} }
} }