Changeset 14122


Ignore:
Timestamp:
Nov 19, 2019 4:10:58 PM (3 weeks ago)
Author:
randersson
Message:

#5819 Fixed editing of string in order to have correct upload pattern

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-5819/external/build_externals/Jenkins/ci/vars/buildAssimuloDocker.groovy

    r14083 r14122  
    1111                dir("${WORKSPACE}/JModelica") {
    1212                    artifact_list = sh returnStdout: true, script: "cat ${ARTIFACT_FILE}"
     13                    if (TARGET == "wheel") {
     14                        // need to remove the trailing **\n from the string and append *.whl
     15                        artifact_pattern = artifact_list.replace("*", "")
     16                        artifact_pattern = artifact_pattern.replace("\n", "")
     17                        artifact_pattern = artifact_pattern + "*.whl"
     18                        echo "artifact_pattern = ${artifact_pattern}"
     19                        uploadToArtifactory(artifact_pattern, "externals/assimulo/release/3.1/unix/${PLATFORM}/", false, "true")
     20                    }
    1321                    archiveArtifacts artifacts: artifact_list, fingerprint: false
    1422                    sh "rm ${ARTIFACT_FILE}"
Note: See TracChangeset for help on using the changeset viewer.