forked from avico78/ADI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile_start
More file actions
44 lines (44 loc) · 966 Bytes
/
Jenkinsfile_start
File metadata and controls
44 lines (44 loc) · 966 Bytes
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
pipeline {
agent {
node {
label 'python'
}
}
triggers {
pollSCM '*/5 * * * *'
}
stages {
stage('Build') {
steps {
echo "installing requirements"
sh '''
pip install -r requirements.txt
'''
}
/* stage('Build') {
steps {
echo "Build."
sh '''
echo -e "Build with new requirements "
'''
} */
}
stage('Test') {
steps {
echo "Test settings"
sh '''
cd app_config
python3 settings.py
'''
}
}
stage('Deliver') {
steps {
echo 'Deliver....'
sh '''
echo "doing delivery stuff.."
'''
}
}
}
}