testing_34
34
This commit is contained in:
parent
cc65745b7d
commit
2081b08fa6
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -18,6 +18,7 @@ def isBuildNeeded = false
|
|||||||
def deleteUnbuild = true
|
def deleteUnbuild = true
|
||||||
def pre_clean = true
|
def pre_clean = true
|
||||||
def post_clean = false
|
def post_clean = false
|
||||||
|
def bin_path = 'bin'
|
||||||
|
|
||||||
|
|
||||||
if(params.DEBUG)
|
if(params.DEBUG)
|
||||||
@ -60,6 +61,10 @@ if(params.POST_CLEAN)
|
|||||||
{
|
{
|
||||||
post_clean = params.POST_CLEAN
|
post_clean = params.POST_CLEAN
|
||||||
}
|
}
|
||||||
|
if(params.BIN_PATH)
|
||||||
|
{
|
||||||
|
bin_path = params.BIN_PATH
|
||||||
|
}
|
||||||
|
|
||||||
def printDebug(msg)
|
def printDebug(msg)
|
||||||
{
|
{
|
||||||
@ -113,7 +118,7 @@ node('test')
|
|||||||
|
|
||||||
stage('move_bin_to_ftp')
|
stage('move_bin_to_ftp')
|
||||||
{
|
{
|
||||||
sh label: 'copy_binaries', script: 'python ' + scripts_path + 'sftp_test.py -a ' + sftp_host + ' -u ' + sftp_user + ' -p ' + sftp_passwd + ' -g ' + git_folder + ' -f ' + scripts_path + known_hosts + ' -l ' + sftp_path + ' -c /bin'
|
sh label: 'copy_binaries', script: 'python ' + scripts_path + 'sftp_test.py -a ' + sftp_host + ' -u ' + sftp_user + ' -p ' + sftp_passwd + ' -g ' + git_folder + ' -f ' + scripts_path + known_hosts + ' -l ' + sftp_path + ' -c ' + bin_path
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user