我需要验证我们的柯南是否将 Artifactory 设置为远程仓库,并确保“ASDC-Jenkins”是用户并且它使用 HTTPS。我将如何开始这个?
# Check to make sure conan compiler defined in the default profile matches system compiler
CONAN_COMPILER=`conan profile show default | grep 'compiler.version'| awk '{print $2}'`
if [ $ID = "OSX" ] ; then
CLANG_VERSION=`clang -v 2>&1 | grep version | sed 's/.*version \([0-9]*.[0-9]*.[0-9]*\) .*/\1/g'`
if [ ! $CONAN_COMPILER = $CLANG_VERSION ] ; then
echo "WARNING: The compiler version in the conan default profile does not match the one the system reports"
fi
fi
if [ $ID = "Linux" ] ; then
if [ ! $CONAN_COMPILER = $COMPILERVER ] ; then
echo "WARNING: The compiler version in the conan default profile does not match the one the system reports"
fi
fi