From d0ca2589251e777c48019423ad21dae6bdb58026 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Wed, 6 Jul 2022 18:13:53 +0300 Subject: [PATCH] build: increase npm install loglevel The builds for npm still fail, however, `--timing` does not provide sufficient data to debug the situation. Change-Id: I7e618ba8cac775748ebea6145cd5c180d2dc7883 --- Jenkinsfile.premerge | 8 ++++---- Jenkinsfile.public | 8 ++++---- Jenkinsfile.verify | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile.premerge b/Jenkinsfile.premerge index d0f91b30d..69cdd0344 100644 --- a/Jenkinsfile.premerge +++ b/Jenkinsfile.premerge @@ -54,7 +54,7 @@ pipeline { stage('web/satellite') { steps { dir('web/satellite') { - sh 'npm ci --prefer-offline --no-audit' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh './scripts/build-wasm.sh' sh 'npm run build' } @@ -63,7 +63,7 @@ pipeline { stage('web/storagenode') { steps { dir('web/storagenode') { - sh 'npm ci --prefer-offline --no-audit' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh 'npm run build' } } @@ -71,7 +71,7 @@ pipeline { stage('web/multinode') { steps { dir('web/multinode') { - sh 'npm ci --prefer-offline --no-audit' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh 'npm run build' } } @@ -79,7 +79,7 @@ pipeline { stage('satellite/admin/ui') { steps { dir('satellite/admin/ui') { - sh 'npm ci --prefer-offline --no-audit' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh 'npm run build' } } diff --git a/Jenkinsfile.public b/Jenkinsfile.public index 348281e7a..97809a8de 100644 --- a/Jenkinsfile.public +++ b/Jenkinsfile.public @@ -43,7 +43,7 @@ pipeline { stage('web/satellite') { steps { dir('web/satellite') { - sh 'npm install --prefer-offline --no-audit --loglevel timing' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh './scripts/build-wasm.sh' sh 'npm run build' } @@ -52,7 +52,7 @@ pipeline { stage('web/storagenode') { steps { dir('web/storagenode') { - sh 'npm install --prefer-offline --no-audit --loglevel timing' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh 'npm run build' } } @@ -60,7 +60,7 @@ pipeline { stage('web/multinode') { steps { dir('web/multinode') { - sh 'npm install --prefer-offline --no-audit --loglevel timing' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh 'npm run build' } } @@ -68,7 +68,7 @@ pipeline { stage('satellite/admin/ui') { steps { dir('satellite/admin/ui') { - sh 'npm install --prefer-offline --no-audit --loglevel timing' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh 'npm run build' } } diff --git a/Jenkinsfile.verify b/Jenkinsfile.verify index f7da87a19..051fad894 100644 --- a/Jenkinsfile.verify +++ b/Jenkinsfile.verify @@ -99,7 +99,7 @@ pipeline { } steps { dir('web/satellite') { - sh 'npm install --prefer-offline --no-audit --loglevel timing' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh './scripts/build-wasm.sh' sh 'npm run build' @@ -122,7 +122,7 @@ pipeline { } steps { dir("web/storagenode") { - sh 'npm install --prefer-offline --no-audit --loglevel timing' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh 'npm run build' sh 'npm run lint-ci' sh script: 'npm audit', returnStatus: true @@ -137,7 +137,7 @@ pipeline { } steps { dir("web/multinode") { - sh 'npm install --prefer-offline --no-audit --loglevel timing' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh 'npm run build' sh 'npm run lint-ci' sh script: 'npm audit', returnStatus: true @@ -152,7 +152,7 @@ pipeline { } steps { dir("satellite/admin/ui") { - sh 'npm install --prefer-offline --no-audit --loglevel timing' + sh 'npm install --prefer-offline --no-audit --loglevel verbose' sh 'npm run build' sh script: 'npm audit', returnStatus: true sh 'npm run check'