Update the artifacts stored in stage2 26/13026/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 28 Feb 2023 11:56:07 +0000 (12:56 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 28 Feb 2023 11:58:52 +0000 (12:58 +0100)
This change updates the patterns of the artifacts to be stored by the
method `archive` in `ci_helper.groovy`.

The pattern "dists/*.gz" and "dists/*Packages" corresponding to index
files for debian repos are no longer required.

The pattern "dist/*.whl" corresponding to Python wheel files is now
required, since it is an additional artifact generated in stage2.

Change-Id: Id87fcb98b2d79a9bd0b64fdaca44da8acd9e1cb1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
jenkins/ci-pipelines/ci_helper.groovy

index 0b41169..33de638 100644 (file)
@@ -132,13 +132,7 @@ def archive(artifactory_server,mdg,branch,status) {
     def uploadSpec = """{
      "files": [
         {
-          "pattern": "dists/*.gz",
-          "target": "${repo_prefix}${mdg}/${branch}/${BUILD_NUMBER}/",
-          "props": "${properties}",
-          "flat": false
-        },
-        {
-          "pattern": "dists/*Packages",
+          "pattern": "dist/*.whl",
           "target": "${repo_prefix}${mdg}/${branch}/${BUILD_NUMBER}/",
           "props": "${properties}",
           "flat": false