testing_07
07
This commit is contained in:
parent
2c60e5c6ff
commit
af76183543
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -37,17 +37,18 @@ node('test')
|
||||
stageName = 'checkout'
|
||||
stage(stageName)
|
||||
{
|
||||
cleanWs()
|
||||
sh label: 'checkout_configs', script: 'git clone ' + config_link + ' owrt_build_script'
|
||||
sh label: 'checkout_openwrt', script: 'git clone ' + git_link + ' openwrt; cd openwrt'
|
||||
sh label: 'checkout_openwrt', script: 'git clone ' + git_link + ' openwrt'
|
||||
}
|
||||
|
||||
stageName = 'pre-build'
|
||||
stage(stageName)
|
||||
{
|
||||
sh label: 'uiae', script: 'ls -al'
|
||||
sh label: 'patch_sources', script: 'patch -p1 < ../owrt_build_script/patches/16M.patch'
|
||||
sh label: 'feeds_update', script: './scripts/feeds update -a'
|
||||
sh label: 'feeds_install', script: './scripts/feeds install -a'
|
||||
sh label: 'patch_sources', script: 'cd openwrt; patch -p1 < ../owrt_build_script/patches/16M.patch'
|
||||
sh label: 'feeds_update', script: 'cd openwrt; ./scripts/feeds update -a'
|
||||
sh label: 'feeds_install', script: 'cd openwrt; ./scripts/feeds install -a'
|
||||
|
||||
}
|
||||
|
||||
@ -56,12 +57,12 @@ node('test')
|
||||
{
|
||||
step('v11')
|
||||
{
|
||||
sh label: 'copy_config', script: 'cp owrt_build_script/configs/tl_wr841_v11_config .config'
|
||||
sh label: 'copy_config', script: 'cp owrt_build_script/configs/tl_wr841_v11_config openwrt/.config'
|
||||
sh label: 'build', script: 'echo v11'
|
||||
}
|
||||
step('v12')
|
||||
{
|
||||
sh label: 'copy_config', script: 'cp owrt_build_script/configs/tl_wr841_v12_config .config'
|
||||
sh label: 'copy_config', script: 'cp owrt_build_script/configs/tl_wr841_v12_config openwrt/.config'
|
||||
sh label: 'build_v12', script: 'echo v12'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user