From 0e181095fc917b35374816d1ecc90b0c4e09daae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=BC=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Sat, 25 Apr 2020 18:15:35 +0300 Subject: [PATCH] scripts --- install/unsafe/Jenkinsfile | 4 ++++ scripts/install-cypress/Jenkinsfile | 4 ++++ stats/Jenkinsfile | 9 +++++---- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 install/unsafe/Jenkinsfile create mode 100644 scripts/install-cypress/Jenkinsfile diff --git a/install/unsafe/Jenkinsfile b/install/unsafe/Jenkinsfile new file mode 100644 index 0000000..a85d96c --- /dev/null +++ b/install/unsafe/Jenkinsfile @@ -0,0 +1,4 @@ +stage('install') { + echo 'starting installing' + sh 'npm install --unsafe-perm' +} \ No newline at end of file diff --git a/scripts/install-cypress/Jenkinsfile b/scripts/install-cypress/Jenkinsfile new file mode 100644 index 0000000..ba58c55 --- /dev/null +++ b/scripts/install-cypress/Jenkinsfile @@ -0,0 +1,4 @@ +stage ('cypress') { + echo 'installing' + sh 'npm i -g cypress' +} diff --git a/stats/Jenkinsfile b/stats/Jenkinsfile index 6afb923..890d8d9 100644 --- a/stats/Jenkinsfile +++ b/stats/Jenkinsfile @@ -1,8 +1,9 @@ stage('stats') { + echo 'checking node and npm versions' sh 'node -v' sh 'npm -v' - sh 'ls -a' - sh 'df -h' - sh 'free -m' - sh 'vmstat -s' + // sh 'ls -a' + // sh 'df -h' + // sh 'free -m' + // sh 'vmstat -s' }