diff --git a/Jenkinsfile b/Jenkinsfile index a37aa7b..2d22cb8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -80,8 +80,10 @@ node('test') sh label: 'checkout_configs', script: 'git clone ' + script_git + ' ' + script_folder sh label: 'checkout_openwrt', script: 'git clone ' + git_link + ' ' + git_folder def ret = sh label: 'is_build_needed', 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, returnStdout: true - if(ret.trim().equalsIgnoreCase('True') + if(ret.trim().equalsIgnoreCase('True')) + { isBuildNeeded = true + } } return