-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsFile
55 lines (55 loc) · 1.39 KB
/
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
51
52
53
54
55
pipeline {
agent any
stages {
stage('checkout') {
steps {
script {
properties([pipelineTriggers([pollSCM('*/15 * * * *')])])
}
git 'https://github.com/Yakikim/MyProject.git'
}
}
stage('run rest_app.py') {
steps {
script {
bat 'start /min python rest_app.py'
}
}
}
stage('run web_app.py') {
steps {
script {
bat 'start /min python web_app.py'
}
}
}
stage('run backend_testing.py') {
steps {
timeout(time:30, unit:'SECONDS') {
bat 'python backend_testing.py'
}
}
}
stage('run frontend_testing.py') {
steps {
script {
bat 'python frontend_testing.py'
}
}
}
stage('run combined_testing.py') {
steps {
script {
bat 'python combined_testing.py'
}
}
}
stage('run clean_environment.py') {
steps {
script {
bat 'python clean_environment.py'
}
}
}
}
}