From 24ec333d77c2b97cc06f86b9d085624bb84e9669 Mon Sep 17 00:00:00 2001 From: Brian Szmyd Date: Thu, 25 Jul 2024 11:42:26 -0700 Subject: [PATCH] Upload all cache-missed packages. --- .jenkins/Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index 8b738d98..d9dfffdf 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -56,8 +56,8 @@ pipeline { steps { sh "conan create ${BUILD_MISSING} -s:h build_type=Debug -o ${PROJECT}/*:sanitize=True ${CONAN_FLAGS} . ; \ conan create ${BUILD_MISSING} -s:h build_type=Debug ${CONAN_FLAGS} . ; \ - conan create ${BUILD_MISSING} -s:h build_type=RelWithDebInfo -o ${PROJECT}/*:malloc_impl=tcmalloc ${CONAN_FLAGS} .; \ - conan create ${BUILD_MISSING} -s:h build_type=RelWithDebInfo -o ${PROJECT}/*:prerelease=True -o ${PROJECT}/*:malloc_impl=tcmalloc ${CONAN_FLAGS} ; \ + conan create ${BUILD_MISSING} -s:h build_type=RelWithDebInfo -o ${PROJECT}/*:malloc_impl=tcmalloc ${CONAN_FLAGS} . ; \ + conan create ${BUILD_MISSING} -s:h build_type=RelWithDebInfo -o ${PROJECT}/*:prerelease=True -o ${PROJECT}/*:malloc_impl=tcmalloc ${CONAN_FLAGS} . ; \ " } } @@ -68,6 +68,7 @@ pipeline { } steps { sh "conan remote login -p ${ARTIFACTORY_PASS} ebay-local _service_sds" + sh "conan graph info ./ | grep 'ref: ' | awk '{print \$2}' | sort | uniq | grep -v ${PROJECT} | grep -v '#' | while read pkg; do conan upload -r ebay-local -c \"\${pkg}\"; done" sh "conan upload ${PROJECT}/${TAG} -c -r ebay-local" } }