rebuilt script structure#4
rebuilt script structure#4
This commit is contained in:
parent
41e6808d48
commit
f44158d7de
47
Jenkinsfile
vendored
47
Jenkinsfile
vendored
@ -1,29 +1,29 @@
|
|||||||
|
|
||||||
|
|
||||||
def debug = false
|
debug = false
|
||||||
def stageName = ''
|
stageName = ''
|
||||||
def git_link
|
git_link
|
||||||
def script_git = 'https://git.psychobox.org/psycho/owrt_build_script.git'
|
script_git = 'https://git.psychobox.org/psycho/owrt_build_script.git'
|
||||||
def git_folder = 'openwrt'
|
git_folder = 'openwrt'
|
||||||
def script_folder = 'owrt_build_script'
|
script_folder = 'owrt_build_script'
|
||||||
def config_path = script_folder + '/configs/'
|
config_path = script_folder + '/configs/'
|
||||||
def patch_path = script_folder + '/patches/'
|
patch_path = script_folder + '/patches/'
|
||||||
def scripts_path = script_folder + '/scripts/'
|
scripts_path = script_folder + '/scripts/'
|
||||||
def patch = patch_path + 'tl-wr841_16m.patch'
|
patch = patch_path + 'tl-wr841_16m.patch'
|
||||||
def sftp_host = ''
|
sftp_host = ''
|
||||||
def sftp_user = ''
|
sftp_user = ''
|
||||||
//def sftp_passwd = ''
|
//def sftp_passwd = ''
|
||||||
def sftp_path = '/jenkins/owrt/'
|
sftp_path = '/jenkins/owrt/'
|
||||||
def isBuildNeeded = false
|
isBuildNeeded = false
|
||||||
def deleteUnbuild = true
|
deleteUnbuild = true
|
||||||
def pre_clean = true
|
pre_clean = true
|
||||||
def post_clean = false
|
post_clean = false
|
||||||
def bin_path = 'bin'
|
bin_path = 'bin'
|
||||||
def verbose = false
|
verbose = false
|
||||||
def single_core = false
|
single_core = false
|
||||||
def verbose_str = ''
|
verbose_str = ''
|
||||||
def core_count_str = '$((`nproc` + 1))'
|
core_count_str = '$((`nproc` + 1))'
|
||||||
def statusCode = 0
|
statusCode = 0
|
||||||
|
|
||||||
|
|
||||||
if(params.DEBUG)
|
if(params.DEBUG)
|
||||||
@ -87,7 +87,6 @@ printDebug(JOB_NAME)
|
|||||||
|
|
||||||
node('test')
|
node('test')
|
||||||
{
|
{
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
checkout()
|
checkout()
|
||||||
|
Loading…
Reference in New Issue
Block a user