diff --git a/Jenkinsfile b/Jenkinsfile
index d07b478090..e5f668581a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -72,7 +72,7 @@ pipeline {
/* stage('Backend') {
steps {
nodejs('node-lts') {
- sh 'gulp backTestOnce --ci'
+ sh 'gulp launchBackTest --ci'
}
}
} */
diff --git a/gulpfile.js b/gulpfile.js
index 2244d02913..6bd2b3542d 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -67,9 +67,9 @@ back.description = `Starts backend and database service`;
const defaultTask = gulp.parallel(front, back);
defaultTask.description = `Starts all application services`;
-// Backend tests
+// Backend tests - Private method
-async function backTestOnce(done) {
+async function launchBackTest(done) {
let err;
let dataSources = require('./loopback/server/datasources.json');
@@ -124,14 +124,16 @@ async function backTestOnce(done) {
if (err)
throw err;
}
-backTestOnce.description = `Runs the backend tests once using a random container, can receive --ci arg to save reports on a xml file`;
+launchBackTest.description = `Runs the backend tests once using a random container, can receive --ci arg to save reports on a xml file`;
+
+// Backend tests
function backTest(done) {
const nodemon = require('gulp-nodemon');
nodemon({
exec: ['node --tls-min-v1.0 ./node_modules/gulp/bin/gulp.js'],
- args: ['backTestOnce'],
+ args: ['launchBackTest'],
watch: backSources,
done: done
});
@@ -402,7 +404,7 @@ module.exports = {
backOnly,
backWatch,
backTest,
- backTestOnce,
+ launchBackTest,
e2e,
i,
install,
diff --git a/modules/entry/front/basic-data/index.html b/modules/entry/front/basic-data/index.html
index f3adc6b024..475afdfd4e 100644
--- a/modules/entry/front/basic-data/index.html
+++ b/modules/entry/front/basic-data/index.html
@@ -1,11 +1,9 @@
+