Skip to content

Commit 039b69e

Browse files
Uncomment gradle part
1 parent 70ee9e2 commit 039b69e

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

continuous-integration/Jenkinsfile

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,32 +36,32 @@ pipeline {
3636
sh "docker run --rm --volume \"\$(pwd)\" vickyrajagopal/python-taint-docker pyt ."
3737
}
3838
}
39-
// stage('continuous integration') { // Compile and do unit testing
39+
stage('continuous integration') { // Compile and do unit testing
4040

41-
// tools {
42-
// gradle 'installGradle'
43-
// }
44-
// steps {
45-
// parallel (
46-
// // run Gradle to execute compile and unit testing
47-
// pylint: {
48-
// sh 'cd continuous-integration && gradle lint'
49-
// },
50-
// pycode: {
51-
// sh 'cd continuous-integration && gradle pycode'
52-
// }
53-
// )
54-
// }
55-
// }
41+
tools {
42+
gradle 'installGradle'
43+
}
44+
steps {
45+
parallel (
46+
// run Gradle to execute compile and unit testing
47+
pylint: {
48+
sh 'cd continuous-integration && gradle lint'
49+
},
50+
pycode: {
51+
sh 'cd continuous-integration && gradle pycode'
52+
}
53+
)
54+
}
55+
}
5656

57-
// stage('testcode') {
58-
// tools {
59-
// gradle 'installGradle'
60-
// }
61-
// steps {
62-
// sh 'gradle test'
63-
// }
64-
// }
57+
stage('testcode') {
58+
tools {
59+
gradle 'installGradle'
60+
}
61+
steps {
62+
sh 'gradle test'
63+
}
64+
}
6565

6666
/*stage('Package and deploy') {
6767
tools {

0 commit comments

Comments
 (0)