forked from iomegak12/BlueOcean_Pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
50 lines (43 loc) · 945 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
pipeline {
agent any
stages {
stage('Git CheckOut') {
parallel {
stage('Git CheckOut') {
steps {
git(url: 'https://github.com/iomegak12/BlueOcean_Pipeline', branch: 'main')
echo 'Successfully Checkout from GitHub!!'
}
}
stage('Print Message') {
steps {
echo 'Simple Messaging Printing Completed'
}
}
stage('StageX') {
steps {
echo 'This message is being printed due to the changed in Jenkins Dashboard'
}
}
}
}
stage('Compile') {
steps {
sh 'bash Compile.sh'
echo 'Compiled Successfully!!'
}
}
stage('Package') {
steps {
sh 'bash Package.sh'
echo 'Packaged Successfully!!'
}
}
stage('Deploy') {
steps {
sh 'bash Deploy.sh'
echo 'Deployed!!'
}
}
}
}