Remove unnecessary variables from Jenkinsfile
authorKrzysztof Wieclaw/IoT & UI Sample (PLT) /SRPOL/Engineer/Samsung Electronics <k.wieclaw@samsung.com>
Tue, 23 Mar 2021 20:59:20 +0000 (21:59 +0100)
committerKrzysztof Wieclaw/IoT & UI Sample (PLT) /SRPOL/Engineer/Samsung Electronics <k.wieclaw@samsung.com>
Wed, 24 Mar 2021 09:39:56 +0000 (10:39 +0100)
Change-Id: I08d0144da44406b2cc5dbd8c1e3b1c866ce080f3
Signed-off-by: Krzysztof Wieclaw/IoT & UI Sample (PLT) /SRPOL/Engineer/Samsung Electronics <k.wieclaw@samsung.com>
Jenkinsfile

index 25a94c9..fe75dd1 100644 (file)
@@ -1,7 +1,7 @@
 pipeline {
   agent {
     docker {
-      image 'art.sec.samsung.net/tizenwearable_docker/ci:v0.18'
+      image 'art.sec.samsung.net/tizenwearable_docker/ci:v0.19'
       registryUrl 'https://art.sec.samsung.net/'
       registryCredentialsId 'botoxcorp'
     }
@@ -23,8 +23,6 @@ pipeline {
           SOLUTION_NAME = "Oobe.sln"
           SOLUTION_PATH = "${SOLUTION_DIR}/${SOLUTION_NAME}"
           GIT_COMMIT_REV = GIT_COMMIT
-          REPO_NAME = env.GIT_URL.tokenize("/")[-1].tokenize(".")[0]
-          REPO_OWNER = env.GIT_URL.tokenize("/")[-2]
           if(BRANCH_NAME == "tizen")
           {
             MERGE_TYPE = ""
@@ -64,7 +62,6 @@ pipeline {
                 }
                 def path = "~/www/${www_path}"
                 def KEY_FILE = SSH_KEY
-                //sh "cat > ${KEY_FILE} <<EOF\n${SSH_KEY}\nEOF"
                 sh "chmod 400 ${KEY_FILE}"
                 if(BRANCH_NAME == "tizen") {
                   sh "ssh -i ${KEY_FILE} -o StrictHostKeychecking=no ${user_host} rm -rf \"${path}\""
@@ -110,7 +107,6 @@ pipeline {
                 }
                 def path = "~/www/${www_path}"
                 def KEY_FILE = SSH_KEY
-                //sh "cat > ${KEY_FILE} <<EOF\n${SSH_KEY}\nEOF"
                 sh "chmod 400 ${KEY_FILE}"
                 if(BRANCH_NAME == "tizen") {
                   sh "ssh -i ${KEY_FILE} -o StrictHostKeychecking=no ${user_host} rm -rf \"${path}\""
@@ -142,7 +138,6 @@ pipeline {
                 }
                 def path = "~/www/${www_path}"
                 def KEY_FILE = SSH_KEY
-                //sh "cat > ${KEY_FILE} <<EOF\n${SSH_KEY}\nEOF"
                 sh "chmod 400 ${KEY_FILE}"
                 if(BRANCH_NAME == "tizen") {
                   sh "ssh -i ${KEY_FILE} -o StrictHostKeychecking=no ${user_host} rm -rf \"${path}\""