Added Jenkinsfile
This commit is contained in:
parent
6d5d7909d8
commit
0c166a123d
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -1,11 +1,28 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('') {
|
||||
stage('source') {
|
||||
steps {
|
||||
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'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user