Meridio: upload to artifactory to use https 48/17248/1
authorLionel Jouin <lionel.jouin@est.tech>
Mon, 20 Feb 2023 16:04:24 +0000 (17:04 +0100)
committerLionel Jouin <lionel.jouin@est.tech>
Mon, 20 Feb 2023 16:04:24 +0000 (17:04 +0100)
Change-Id: Ia27b94bb668c5e7f102e95945302d56207fd7550

jjb/nsm/e2e.Jenkinsfile

index a1ace8f691a927e558071a2ea1b87177b99f49ef..bba546726c74df5b454f56c01807d8610df71b09 100644 (file)
@@ -206,7 +206,7 @@ def Report(id) {
             archiveArtifacts artifacts: '_output/**/*.*', followSymlinks: false
             sh "tar -czvf ${id}.tar.gz -C _output ."
             withCredentials([string(credentialsId: 'nsm-nordix-artifactory-api-key', variable: 'API_KEY')]) {
-                sh "curl -H 'X-JFrog-Art-Api:${API_KEY}' -T ${id}.tar.gz 'http://artifactory.nordix.org/artifactory/cloud-native/meridio/e2e-test-reports/${id}.tar.gz'"
+                sh "curl -H 'X-JFrog-Art-Api:${API_KEY}' -T ${id}.tar.gz 'https://artifactory.nordix.org/artifactory/cloud-native/meridio/e2e-test-reports/${id}.tar.gz'"
             }
         } catch (Exception e) {
         }