rebuilt script structure#4

rebuilt script structure#4
This commit is contained in:
psycho 2020-11-09 14:59:44 +01:00
parent 41e6808d48
commit f44158d7de

47
Jenkinsfile vendored
View File

@ -1,29 +1,29 @@
def debug = false
def stageName = ''
def git_link
def script_git = 'https://git.psychobox.org/psycho/owrt_build_script.git'
def git_folder = 'openwrt'
def script_folder = 'owrt_build_script'
def config_path = script_folder + '/configs/'
def patch_path = script_folder + '/patches/'
def scripts_path = script_folder + '/scripts/'
def patch = patch_path + 'tl-wr841_16m.patch'
def sftp_host = ''
def sftp_user = ''
debug = false
stageName = ''
git_link
script_git = 'https://git.psychobox.org/psycho/owrt_build_script.git'
git_folder = 'openwrt'
script_folder = 'owrt_build_script'
config_path = script_folder + '/configs/'
patch_path = script_folder + '/patches/'
scripts_path = script_folder + '/scripts/'
patch = patch_path + 'tl-wr841_16m.patch'
sftp_host = ''
sftp_user = ''
//def sftp_passwd = ''
def sftp_path = '/jenkins/owrt/'
def isBuildNeeded = false
def deleteUnbuild = true
def pre_clean = true
def post_clean = false
def bin_path = 'bin'
def verbose = false
def single_core = false
def verbose_str = ''
def core_count_str = '$((`nproc` + 1))'
def statusCode = 0
sftp_path = '/jenkins/owrt/'
isBuildNeeded = false
deleteUnbuild = true
pre_clean = true
post_clean = false
bin_path = 'bin'
verbose = false
single_core = false
verbose_str = ''
core_count_str = '$((`nproc` + 1))'
statusCode = 0
if(params.DEBUG)
@ -87,7 +87,6 @@ printDebug(JOB_NAME)
node('test')
{
try
{
checkout()