ci: Enable scripts for Travis-CI and in-house Jenkins CI
Change-Id: Ibd4c0313945d57a037e87c54c56e6047c4daed73
Refs: #2477
diff --git a/.jenkins.d/20-build.sh b/.jenkins.d/20-build.sh
new file mode 100755
index 0000000..e64e944
--- /dev/null
+++ b/.jenkins.d/20-build.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+set -x
+set -e
+
+# Cleanup
+sudo ./waf -j1 --color=yes distclean
+
+# Configure/build in release mode
+./waf -j1 --color=yes configure
+./waf -j1 --color=yes build
+
+# Cleanup
+sudo ./waf -j1 --color=yes distclean
+
+# Configure/build in debug mode
+./waf -j1 --color=yes configure --debug
+./waf -j1 --color=yes build
+
+# Cleanup
+sudo ./waf -j1 --color=yes distclean