From a812c6ebc9c7a77cffa59105fe469a94f2744972 Mon Sep 17 00:00:00 2001 From: Primakov Alexandr Alexandrovich Date: Sun, 4 Aug 2024 10:02:54 +0300 Subject: [PATCH] cd script --- cd/Jenkinsfile | 6 ++++++ install/ci/Jenkinsfile | 1 + 2 files changed, 7 insertions(+) create mode 100644 cd/Jenkinsfile diff --git a/cd/Jenkinsfile b/cd/Jenkinsfile new file mode 100644 index 0000000..0050626 --- /dev/null +++ b/cd/Jenkinsfile @@ -0,0 +1,6 @@ +stage ('change folder') { + script { + echo 'CD_DIR=' + CD_DIR + sh "cd ${CD_DIR}"; + } +} diff --git a/install/ci/Jenkinsfile b/install/ci/Jenkinsfile index 65cfd3a..bbb98ca 100644 --- a/install/ci/Jenkinsfile +++ b/install/ci/Jenkinsfile @@ -9,5 +9,6 @@ stage('install:ci') { } currentBuild.description = "#${BUILD_NUMBER}, branch ${branchName}, tag ${tag ? tag : 'no tag'}\n\n${lastLog}" echo 'starting installing' + sh "pwd" sh 'npm ci' } \ No newline at end of file