File tree Expand file tree Collapse file tree 4 files changed +13
-18
lines changed Expand file tree Collapse file tree 4 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,6 @@ volumes:
2626 - {mountPath: /auto/sw_tools/Commercial, hostPath: /auto/sw_tools/Commercial}
2727 - {mountPath: /hpc/local/commercial, hostPath: /hpc/local/commercial}
2828 - {mountPath: /hpc/local/etc/modulefiles, hostPath: /hpc/local/etc/modulefiles}
29- # for Antivirus
30- - {mountPath: /auto/BACKUP/logs_of_LOGS, hostPath: /auto/BACKUP/logs_of_LOGS}
31- - {mountPath: /auto/GLIT/SCRIPTS/HELPERS, hostPath: /auto/GLIT/SCRIPTS/HELPERS}
3229 # Default release location
3330 - {mountPath: /auto/sw/release/sw_acceleration, hostPath: /auto/sw/release/sw_acceleration}
3431 # User profile for release
@@ -209,16 +206,6 @@ steps:
209206 archiveArtifacts-onfail : |
210207 jenkins/**/arch-*.tar.gz
211208
212- - name : Antivirus
213- enable : ${do_antivirus}
214- containerSelector :
215- - " {name: 'rhel8.3-mofed-x86_64', category: 'base', variant: 1}"
216- agentSelector :
217- - " {nodeLabel: 'skip-agent'}"
218- run : |
219- env WORKSPACE=$PWD .ci/antivirus.sh ${release_folder}
220- archiveArtifacts : ' logs/'
221-
222209 - name : Style
223210 enable : ${do_style}
224211 containerSelector :
Original file line number Diff line number Diff line change 5353 name : " do_package"
5454 default : true
5555 description : " Check tar, source and binary packages."
56- - bool :
57- name : " do_antivirus"
58- default : false
59- description : " Run Antivirus."
6056 - bool :
6157 name : " do_cppcheck"
6258 default : true
Original file line number Diff line number Diff line change 3535 name : " do_release"
3636 default : true
3737 description : " Release build packges into the release folder, set to false for debugging"
38+ - bool :
39+ name : " do_antivirus"
40+ default : true
41+ description : " Run Antivirus."
3842 - string :
3943 name : " notification_email"
4044 default : " {jjb_release_email}"
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ volumes:
2121 - {mountPath: /auto/sw/release/sw_acceleration, hostPath: /auto/sw/release/sw_acceleration}
2222 # User profile for release
2323 - {mountPath: /var/home/swx-jenkins, hostPath: /labhome/swx-jenkins}
24+ # for Antivirus
25+ - {mountPath: /auto/BACKUP/logs_of_LOGS, hostPath: /auto/BACKUP/logs_of_LOGS}
26+ - {mountPath: /auto/GLIT/SCRIPTS/HELPERS, hostPath: /auto/GLIT/SCRIPTS/HELPERS}
2427
2528runs_on_dockers :
2629 - {
@@ -32,7 +35,6 @@ runs_on_dockers:
3235 tag : ' 20250304'
3336 }
3437
35-
3638steps :
3739 - name : Build-dpcp
3840 parallel : false
@@ -47,6 +49,12 @@ steps:
4749 .ci/do_release.sh
4850 archiveArtifacts : " **/build_pkg.log,**/packages/*.rpm"
4951
52+ - name : Antivirus
53+ enable : ${do_antivirus}
54+ run : |
55+ env WORKSPACE=$PWD .ci/antivirus.sh ${release_folder} ${release_tag}
56+ archiveArtifacts : ' logs/'
57+
5058pipeline_start :
5159 shell : action
5260 module : groovy
You can’t perform that action at this time.
0 commit comments