Skip to content

Commit 2076e2e

Browse files
committed
Merge branch 'master' of github.com:kristrev/data-exporter
2 parents b8442a0 + 9e559c1 commit 2076e2e

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Jenkinsfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import java.text.SimpleDateFormat
22
jobName = "metadata-exporter"
3-
version = "0.1.48"
3+
version = "0.1.49"
44
build_dir = "build"
55
buildPackageName = "meta-exporter"
66

@@ -9,12 +9,12 @@ node ('dockerslave') {
99
deleteDir()
1010
stage ('Git') {
1111
git branch: 'master', url: 'git@github.com:MONROE-PROJECT/Utilities.git'
12-
13-
checkout([$class: 'GitSCM',
14-
branches: [[name: 'master']],
15-
doGenerateSubmoduleConfigurations: false,
16-
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'metadata-exporter-alt']],
17-
submoduleCfg: [],
12+
13+
checkout([$class: 'GitSCM',
14+
branches: [[name: 'master']],
15+
doGenerateSubmoduleConfigurations: false,
16+
extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'metadata-exporter-alt']],
17+
submoduleCfg: [],
1818
userRemoteConfigs: [[url: 'git@github.com:kristrev/data-exporter.git']]])
1919
gitCommit = sh(returnStdout: true, script: 'git rev-parse HEAD').trim()
2020
shortCommit = gitCommit.take(6)
@@ -57,7 +57,7 @@ node ('dockerslave') {
5757
sh "rm meta-exporter*.deb"
5858
}
5959
}
60-
60+
6161
stage ('Archive artifacts') {
6262
archiveArtifacts "${build_dir}/*.deb"
6363
}

metadata_writer_sqlite.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@
102102
"Latitude REAL NOT NULL," \
103103
"Longitude REAL NOT NULL," \
104104
"Altitude REAL," \
105-
"GroundSpeed REAL," \
106-
"NumOfSatelites INTEGER," \
105+
"Speed REAL," \
106+
"SatelliteCount INTEGER," \
107107
"PRIMARY KEY(NodeId) ON CONFLICT REPLACE)"
108108

109109
#define CREATE_MONITOR_SQL "CREATE TABLE IF NOT EXISTS MonitorEvents(" \
@@ -151,7 +151,7 @@
151151
#define INSERT_GPS_EVENT "INSERT INTO GpsUpdate(NodeId,BootCount" \
152152
",BootMultiplier,Timestamp" \
153153
",Sequence,EventType,EventParam,Latitude,Longitude" \
154-
",Altitude,GroundSpeed,NumOfSatelites) " \
154+
",Altitude,Speed,SatelliteCount) " \
155155
"VALUES (?,?,?,?,?,?,?,?,?,?,?,?)"
156156

157157
#define INSERT_MONITOR_EVENT "INSERT INTO MonitorEvents(NodeId,Timestamp" \
@@ -285,7 +285,7 @@
285285
"quote(\"BootMultiplier\"), quote(\"Timestamp\"), "\
286286
"quote(\"Sequence\"), quote(\"Latitude\"), "\
287287
"quote(\"Longitude\"), quote(\"Altitude\"), "\
288-
"quote(\"GroundSpeed\"), quote(\"NumOfSatelites\") "\
288+
"quote(\"Speed\"), quote(\"SatelliteCount\") "\
289289
"|| \")\" FROM \"GpsUpdate\" ORDER BY Timestamp;"
290290

291291
#define DUMP_MONITOR "SELECT \"REPLACE INTO MonitorEvents" \

0 commit comments

Comments
 (0)