File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments