File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ pipeline {
89
89
90
90
dir(path : ' docs/html' ) {
91
91
sh """ # Move the clamav-documentation here.
92
- cp -r ../../clamav_documentation/ .
92
+ cp -r ../../clamav_documentation/* .
93
93
# Clean-up
94
94
rm -rf ../../clamav_documentation
95
95
rm -rf .git .nojekyll CNAME Placeholder || true
@@ -122,6 +122,13 @@ pipeline {
122
122
cpack --config CPackSourceConfig.cmake
123
123
"""
124
124
archiveArtifacts(artifacts : " clamav-${ params.VERSION} *.tar.gz" , onlyIfSuccessful : true )
125
+
126
+ sh """
127
+ jq -n '[ inputs | .package_version = (input_filename | split("/") | .[-2])]' $HOME /.cargo/registry/src/*/*/.cargo_vcs_info.json > clamav_cargo_vcs_info.json
128
+ """
129
+
130
+ archiveArtifacts(artifacts : " clamav_cargo_vcs_info.json" , onlyIfSuccessful : true )
131
+
125
132
}
126
133
cleanWs()
127
134
}
You can’t perform that action at this time.
0 commit comments