mbed_app.json configured to operate on senet

To enable cayenne, edit mbed_app.json, assign pins for desired function

Example:

        "cayenne": {
            "help": "compile main_cayenne.cpp instead of main.cpp",
            "value": 1
        },
        "analog_in_pin": {
            "help": "PA_0, PA_4, PA_5",
            "value": "PA_0"
        },
        "analog_out_pin": {
            "help": "PA_0, PB_5, PB_10, PB_11",
            "value": "PB_11"
        },
        "_digital_out_pin": {
            "help": "",
            "value": ""
        }
Revision:
54:19d02b47e598
Parent:
49:699a601deb79
Child:
59:23cc35ed9008
--- a/Jenkinsfile	Thu May 16 12:01:57 2019 +0100
+++ b/Jenkinsfile	Tue Jul 23 12:04:56 2019 +0100
@@ -86,7 +86,15 @@
         deleteDir()
         dir("mbed-os-example-lorawan") {
           checkout scm
-          execute("mbed deploy --protocol ssh")
+
+          // A workaround for mbed-cli caching issues
+          try {
+            execute("mbed deploy --protocol ssh")
+          } catch (err) {
+              echo "mbed deploy failed - retrying after 10s"
+              sleep(10)
+              execute("mbed deploy --protocol ssh")
+          }
 
           // Set mbed-os to revision received as parameter
           if (env.MBED_OS_REVISION != '') {
@@ -143,7 +151,15 @@
         deleteDir()
         dir("mbed-os-example-lorawan") {
           checkout scm
-          execute("mbed deploy --protocol ssh")
+
+          // A workaround for mbed-cli caching issues
+          try {
+            execute("mbed deploy --protocol ssh")
+          } catch (err) {
+              echo "mbed deploy failed - retrying after 10s"
+              sleep(10)
+              execute("mbed deploy --protocol ssh")
+          }
 
           if (env.MBED_OS_REVISION != '') {
             dir("mbed-os") {