Skip to content

Commit 08ffd3e

Browse files
committed
added muliple stages
1 parent dffd4b8 commit 08ffd3e

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

Jenkinsfile

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,24 @@ pipeline {
22
agent any
33

44
stages {
5-
stage('Hello') {
5+
stage('Compile') {
66
steps {
7-
echo 'Hello World'
7+
echo 'Code Compiled'
8+
}
9+
}
10+
stage('Tests') {
11+
steps {
12+
echo 'Test executed'
13+
}
14+
}
15+
stage('Sonar') {
16+
steps {
17+
echo 'Sonar Analysis Performed'
18+
}
19+
}
20+
stage('Package') {
21+
steps {
22+
echo 'Package Success'
823
}
924
}
1025
}

0 commit comments

Comments
 (0)