-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjenkinsfile.txt
40 lines (37 loc) · 920 Bytes
/
jenkinsfile.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
pipeline {
agent any
environment {
PROJECT_NAME = "Neptun"
OWNER_NAME = "Bublikov Dmitry"
}
stages {
stage('My-Pipeline') {
steps {
echo 'Hello World'
}
}
stage('2-Test') {
steps {
sh "ls -la"
//echo "Hello ${OWNER_NAME}""
//echo "Project name is" ${PROJECT_NAME}""
echo 'Hello World'
}
}
stage('3-Deploy') {
steps {
sh '''
echo "Line1"
echo "Line2"
'''
sh "python --version"
echo 'End of Stage Build'
}
}
stage('4-Celebrate') {
steps {
echo 'CONGRATULYACIYA!'
}
}
}
}