-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile3.txt
43 lines (42 loc) · 1.11 KB
/
Jenkinsfile3.txt
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
pipeline {
agent any
environment {
PROJECT_NAME = "MiVainer"
OWNER_NAME = "Mihail Chikulaev"
}
stages {
stage('1-Build') {
steps {
echo "Start of Stage Build..."
echo "Building......."
echo "End of Stage Build..."
}
}
stage('2-Test') {
steps {
echo "Start of Stage Test..."
echo "Testing......."
echo "Privet ${PROJECT_NAME}"
echo "Owner is ${OWNER_NAME}"
echo "End of Stage Build..."
}
}
stage('3-Deploy') {
steps {
echo "Start of Stage Deploy..."
echo "Deploying......."
sh "ls -la"
sh '''
echo "Line1"
echo "Line2"
'''
echo "End of Stage Build..."
}
}
stage('4-Celebrate') {
steps {
echo "CONGRATULYACIYA!"
}
}
}
}