generated from gCubeCI/Pipeline-Docker-Template
fix deploy filename
This commit is contained in:
parent
73adf8b656
commit
146dd63cb6
|
@ -9,8 +9,8 @@ import groovy.io.FileType
|
||||||
// related jenkins job: https://jenkins.d4science.org/job/gCubeDeployer/
|
// related jenkins job: https://jenkins.d4science.org/job/gCubeDeployer/
|
||||||
|
|
||||||
def agent_root_folder = '/var/lib/jenkins'
|
def agent_root_folder = '/var/lib/jenkins'
|
||||||
def agent_deploy_filename = 'deploy.${env.BUILD_NUMBER}.csv'
|
//def agent_deploy_filename = 'deploy.${env.BUILD_NUMBER}.csv'
|
||||||
def agent_deploy_backup_filename = 'deploy.${env.BUILD_NUMBER}.bck'
|
//def agent_deploy_backup_filename = 'deploy.${env.BUILD_NUMBER}.bck'
|
||||||
|
|
||||||
def deployList
|
def deployList
|
||||||
def backupList
|
def backupList
|
||||||
|
@ -53,8 +53,8 @@ pipeline {
|
||||||
AGENT_ROOT_FOLDER = "${agent_root_folder}"
|
AGENT_ROOT_FOLDER = "${agent_root_folder}"
|
||||||
DEPLOY_ROOT_FOLDER ="${agent_root_folder}/ansible-repos/ansible-playbooks/d4science-ghn-cluster/CD"
|
DEPLOY_ROOT_FOLDER ="${agent_root_folder}/ansible-repos/ansible-playbooks/d4science-ghn-cluster/CD"
|
||||||
PIPELINE_BUILD_NUMBER = "${env.BUILD_NUMBER}"
|
PIPELINE_BUILD_NUMBER = "${env.BUILD_NUMBER}"
|
||||||
DEPLOY_FILE = "${agent_root_folder}/${agent_deploy_filename}"
|
DEPLOY_FILE = "${agent_root_folder}/deploy.${PIPELINE_BUILD_NUMBER}.csv"
|
||||||
BACKUP_FILE = "${agent_root_folder}/${agent_deploy_backup_filename}"
|
BACKUP_FILE = "${agent_root_folder}/deploy.${PIPELINE_BUILD_NUMBER}.bck"
|
||||||
TRIGGER_JOB= "${params.TRIGGER_JOB}"
|
TRIGGER_JOB= "${params.TRIGGER_JOB}"
|
||||||
TRIGGER_VERSION= "${params.TRIGGER_VERSION}"
|
TRIGGER_VERSION= "${params.TRIGGER_VERSION}"
|
||||||
TRIGGER_HOST="${params.TRIGGER_HOST}"
|
TRIGGER_HOST="${params.TRIGGER_HOST}"
|
||||||
|
|
Loading…
Reference in New Issue