message: Archive cocoa artifacts
diff: @@ -214,7 +214,7 @@ def doBuildWindows(String buildType, boolean isUWP, String arch) {
  bat """
  cmake ${cmakeDefinitions} -DREALM_BUILD_LIB_ONLY=1 -G \"Visual Studio 14 2015${archSuffix}\" -DCMAKE_BUILD_TYPE=${buildType} ..
  cmake --build . --config ${buildType}
  - cpack -C ${buildType} -D CPACK_GENERATOR=TGZ -d CPACK_SYSTEM_NAME=${isUWP?'UWP':'Windows'}-${arch}
  + cpack -C ${buildType} -D CPACK_GENERATOR=TGZ -D CPACK_SYSTEM_NAME=${isUWP?'UWP':'Windows'}-${arch}
  """
  archiveArtifacts('*.tar.gz')
  }
  @@ -328,6 +328,10 @@ def doBuildAppleDevice(String sdk, String buildType) {
  try {
  sh "./build.sh -o ${sdk} -t ${buildType} -v ${gitDescribeVersion}"
  + def buildDir = sh(returnStdout: true, script: 'find . -type d -maxdepth 1 -name build-android*').trim()
  + dir(buildDir) {
  + archiveArtifacts('*.tar.gz')
  + }
  } finally {
  collectCompilerWarnings('clang', true)
  }
  