This is an example of BLE GATT Client, which receives broadcast data from BLE_Server_BME280 ( a GATT server) , then transfers values up to mbed Device Connector (cloud).

Please refer details about BLEClient_mbedDevConn below. https://github.com/soramame21/BLEClient_mbedDevConn

The location of required BLE GATT server, BLE_Server_BME280, is at here. https://developer.mbed.org/users/edamame22/code/BLE_Server_BME280/

pal/Jenkinsfile

Committer:
Ren Boting
Date:
2017-09-05
Revision:
2:b894b3508057
Parent:
0:29983394c6b6

File content as of revision 2:b894b3508057:


try {
  // Reserve an executor from node with label arm-none-eabi-gcc
  node ("arm-none-eabi-gcc") {
    // Ensure a clean build by deleting any previous Jenkins workarea
    deleteDir()
    // Add timestamps to Jenkins console log
    timestamps {
      env.MBEDOS_ROOT = pwd()
      // Define a Jenkins stage for logging purposes
      stage ("prepare environment") {
        // Create a directory and execute steps there
        dir ("mbed-client-pal") {
          // clone the sw under test, either branch or PR depending on trigger
          checkout scm
        }
        
        dir ("mbed-os") {
          git "git@github.com:ARMmbed/mbed-os"
          execute ("git checkout tags/mbed-os-5.2")
        }
        
        
        // Add mbed components
        execute ("mbed new .")

        // Execute shell command, edit file with sed


        writeFile file: 'mbed-os/features/frameworks/.mbedignore', text: '*'

      }
      
      stage ("build") {
        dir ("mbed-client-pal/Test") {
          execute ("make mbedOS_all")
        }
      }
    }
  }
} catch (error) {
    currentBuild.result = 'FAILURE'


}