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'
}
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 = ""
}
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}\""
}
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}\""
}
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}\""