services/jenkins-scripts.git
11 years agoremove pre-release process from generic repo-maker
Hasan Wan [Fri, 1 Mar 2013 08:19:18 +0000 (16:19 +0800)]
remove pre-release process from generic repo-maker

Change-Id: I1add8b2ac42b929b79274ab082775f2c17134b99
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agougly way to fix the project removing problem
Hasan Wan [Tue, 26 Feb 2013 02:53:40 +0000 (10:53 +0800)]
ugly way to fix the project removing problem

Change-Id: Idf8f2e55c043723d2bcdd16fd56dc59f1a4c354f
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoBuildService related refactoring and cleanups
Lingchaox Xin [Mon, 25 Feb 2013 08:44:16 +0000 (16:44 +0800)]
BuildService related refactoring and cleanups

Conflicts:

job_pre_release.py

Change-Id: Id114bc71de76e43db7d9be2387abc693b667a095

11 years agocommon/git.py refactoring and cleanups
Lingchaox Xin [Sun, 17 Feb 2013 09:38:56 +0000 (17:38 +0800)]
common/git.py refactoring and cleanups

Also add gitignore

Conflicts:
common/git.py
job_submitobs.py

Change-Id: I0fd28bcc1e7cd4adc23874d7c41b4a2d11e00678

11 years agofix conflict of global variable "OBS_USERNAME"
Lin Yang [Fri, 1 Mar 2013 07:30:33 +0000 (15:30 +0800)]
fix conflict of global variable "OBS_USERNAME"

Because same other jobs already use "OBS_API_USERNAME", change "OBS_USERNAME" to fix it.

Change-Id: I45bca5b2b672945e4968b938f1c8c783f8007360
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoimprove function of cloning git project to local
Lin Yang [Fri, 1 Mar 2013 07:22:41 +0000 (15:22 +0800)]
improve function of cloning git project to local

Change-Id: I939dfaa8d055c740a92683e0cdbe2015802e2383
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocleanup obsolete code in submit-obs job
Lin Yang [Thu, 21 Feb 2013 07:17:34 +0000 (15:17 +0800)]
cleanup obsolete code in submit-obs job

Discard the functions of automatically update changelog and
gerritinfo file.

Change-Id: I0ab590a82cf3de04e260f8b25f23f1a91aef8966
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocleanup obsolete code in policycheck
Lin Yang [Thu, 7 Feb 2013 02:33:35 +0000 (10:33 +0800)]
cleanup obsolete code in policycheck

Change-Id: Ie93928b509d00d4e885569851571127d0d5f6f09
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoOnly get last 200 lines of build log
Lin Yang [Wed, 6 Feb 2013 08:35:38 +0000 (16:35 +0800)]
Only get last 200 lines of build log

Change-Id: Ie382e1f7137b4d6680491eb680a91e01bd854cdc
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocommon/buildservice.py refactoring and cleanups
Lingchaox Xin [Mon, 21 Jan 2013 10:21:32 +0000 (18:21 +0800)]
common/buildservice.py refactoring and cleanups

Change-Id: I4f7161e0252d66a702a91b6972d7aab05cfb6d0a

11 years agoremove single quotes in gerrit review message
Lin Yang [Tue, 8 Jan 2013 10:32:49 +0000 (18:32 +0800)]
remove single quotes in gerrit review message

Because we use single quotes to quoting message. A single quote may
not occur between single quotes, even when preceded by a backslash.

Change-Id: I258d7d53a4a9d0f51426718c5a6a1954c025bc5b
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agosupport quotation in tag message
Lin Yang [Tue, 8 Jan 2013 10:02:40 +0000 (18:02 +0800)]
support quotation in tag message

Change-Id: Ia30da7d0bdc7a67b0197de297082adb13acd77bc

11 years agoreject submission if doesn't have changelog update
Lin Yang [Wed, 19 Dec 2012 09:15:44 +0000 (17:15 +0800)]
reject submission if doesn't have changelog update

Change-Id: I7759009c885311e2c4fc01c0e977e7cee7b6bb53
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoAdd delete_tags for job_deletetag.py, sorry for this
Lingchaox Xin [Fri, 4 Jan 2013 11:02:50 +0000 (19:02 +0800)]
Add delete_tags for job_deletetag.py, sorry for this

Change-Id: Ib92b2c76ca5c80886a854584e2f7a2f1b16b665f

11 years agodrop previous version deletetag shell script
Lin Yang [Thu, 20 Dec 2012 03:50:38 +0000 (11:50 +0800)]
drop previous version deletetag shell script

Change-Id: I6ed425d612d3129d2f068afe993f79c68a5dceec
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoRewrite job_deletetag.sh with Python
Lingchaox Xin [Fri, 7 Dec 2012 10:54:16 +0000 (18:54 +0800)]
Rewrite job_deletetag.sh with Python

Handle gerrit patchset-created and change_abandoned events, when a new
patchset created, remove all tags from previous patchset; when a change
abandoned, remove all tags from latest patchset.

Change-Id: I7d17e33c73f7afd3a06a73f8c57dccf19138b5a9

11 years agoonly send out email to owner when SR decline/revoke
Lin Yang [Thu, 20 Dec 2012 10:25:03 +0000 (18:25 +0800)]
only send out email to owner when SR decline/revoke

Change-Id: Ib4f2f9dccdef29bbae09b58026c02bd8d5012419
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoHandle multiply lines comments issue
Lin Yang [Fri, 7 Dec 2012 08:56:25 +0000 (16:56 +0800)]
Handle multiply lines comments issue

Develop may provide multiply lines message for submit tag, so every
line of SR description may be not start with tag.

Change-Id: Ia34be1893af15ca1deda7908b550db03dcc48e48
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoFix an exception issue when trigger request job
LingchaoX Xin [Mon, 19 Nov 2012 01:32:59 +0000 (09:32 +0800)]
Fix an exception issue when trigger request job

Add a description condition to avoid exception

Change-Id: I6f1bd6482a97f8ade90b7ae6eaa228eb0b41b527

11 years agoExit with success status when repo is not ready
Hasan Wan [Mon, 14 Jan 2013 06:25:24 +0000 (14:25 +0800)]
Exit with success status when repo is not ready

Change-Id: I786ed79da0dd68e7fc05e7f0af337297c1ef0551
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoget linked project info from parent meta conf, repo maker clean up
Hasan Wan [Mon, 14 Jan 2013 03:06:54 +0000 (11:06 +0800)]
get linked project info from parent meta conf, repo maker clean up

Change-Id: Ic6ef3ca70c10097f4ab11b724770a8b473614bfc
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agosupport group submission
Hasan Wan [Tue, 8 Jan 2013 14:07:55 +0000 (22:07 +0800)]
support group submission

Change-Id: I7ca6a345cbdb327287cf9548ea08d71c4a59c652
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoremove sr from repo name
Hasan Wan [Tue, 8 Jan 2013 13:28:59 +0000 (21:28 +0800)]
remove sr from repo name

Change-Id: I31e00682cf0eaf33ab48a8ebb87ceaaf8cfc18ec
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoimpove the function of linkedbuild
Hasan Wan [Sun, 6 Jan 2013 13:05:42 +0000 (21:05 +0800)]
impove the function of linkedbuild

Change-Id: Idcc35e2760c2a4204baf045925435bd435c9cb33
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoresolve local .oscrc issue, add project filter for repomaker
Hasan Wan [Sun, 6 Jan 2013 06:03:47 +0000 (14:03 +0800)]
resolve local .oscrc issue, add project filter for repomaker

Change-Id: I91fda621e39b55a0bf960f0ca0dd60b929f3c909
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdd testprojects module to handle prerelease project
Hasan Wan [Mon, 31 Dec 2012 05:54:33 +0000 (13:54 +0800)]
Add testprojects module to handle prerelease project

Change-Id: Idfe1d72b5ac6711a198937ea3eabd6b89d0261ca
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdd exception catcher for XML parser, delete project by osc rdelete
Hasan Wan [Mon, 31 Dec 2012 05:51:01 +0000 (13:51 +0800)]
Add exception catcher for XML parser, delete project by osc rdelete

Change-Id: Ib53a365162ddcef03b7b13bca88425e53c0046cc
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agorepomaker: is_ready clean up
Hasan Wan [Mon, 31 Dec 2012 05:48:14 +0000 (13:48 +0800)]
repomaker: is_ready clean up

Change-Id: I3a8ca805c4be702ae1c69a1e4141f6e3bc2e09ab
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agorepomaker: use subprocess to accelerate repo creation
Hasan Wan [Mon, 31 Dec 2012 05:47:06 +0000 (13:47 +0800)]
repomaker: use subprocess to accelerate repo creation

Change-Id: I2adc57a7dce183fe759f181e1f0e426c588037a8

11 years agoUse 'Tizen:<target>.sr.<timestamp>' as repo name
Hasan Wan [Mon, 12 Nov 2012 05:42:09 +0000 (13:42 +0800)]
Use 'Tizen:<target>.sr.<timestamp>' as repo name
Keep git info in obs project meta desciption

Change-Id: If06c46eee3b4d1e891a28c69288eb5f79d1d3f3e
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoRepomaker refactor, keep all repo information in one dict
Hasan Wan [Fri, 9 Nov 2012 05:41:46 +0000 (13:41 +0800)]
Repomaker refactor, keep all repo information in one dict
Remove the OBS project disable section after temporary repo relaese out

Change-Id: I75d0b2c3dcd5fbafa6bf51f2a56b9fae14657045
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agofix localdep issues
Hasan Wan [Wed, 7 Nov 2012 14:32:17 +0000 (22:32 +0800)]
fix localdep issues

Change-Id: I83539cc83e6e9ea785cb8aa07b5f1893507856e8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agodisable repomaker to create repo for Tizen:Main Tizen:Base projects, fix several...
Hasan Wan [Tue, 6 Nov 2012 07:21:51 +0000 (15:21 +0800)]
disable repomaker to create repo for Tizen:Main Tizen:Base projects, fix several bugs

Change-Id: I5403c80d6f1f9cc0f9de208db2db695bff4c34e8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoFix several issues
Hasan Wan [Mon, 5 Nov 2012 05:38:53 +0000 (13:38 +0800)]
Fix several issues
1. Use simple mete conf when disable project build
2. Remove the multi temporary repoes when SR closed
3. Fix bugs when adaptor to new trigger method

Change-Id: I3f2698adeeb285eee201cde2b6f57d32f8a1a689
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoUes upper keywords in requests job
Hasan Wan [Mon, 5 Nov 2012 05:36:43 +0000 (13:36 +0800)]
Ues upper keywords in requests job

Change-Id: Ib4b3758e78ac5ce21e6662b35413970206105c8a
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agorename triggerbuild to buildtrigger, fix bugs
Hasan Wan [Fri, 2 Nov 2012 08:25:52 +0000 (16:25 +0800)]
rename triggerbuild to buildtrigger, fix bugs

Change-Id: I8cb140ddb42ab7a85f663a151d3ce1c64865c6a8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoadapte to file parameter trigger
Hasan Wan [Fri, 2 Nov 2012 06:47:57 +0000 (14:47 +0800)]
adapte to file parameter trigger

Change-Id: I78166ed26749d239a7fdd8cdbffe9db5f368b4f7
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdd job to clean up temporary project/repo
Hasan Wan [Fri, 2 Nov 2012 06:04:56 +0000 (14:04 +0800)]
Add job to clean up temporary project/repo

Change-Id: I6b014287f3357f4fe08d74c793c1bbdbe6f400eb
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agopre-release image creation process works
Hasan Wan [Thu, 1 Nov 2012 03:28:29 +0000 (11:28 +0800)]
pre-release image creation process works

Change-Id: I0b8bb3c6d96162d8ae2ee84df0693e6fde151565
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agofix several repo maker bugs
Hasan Wan [Thu, 1 Nov 2012 02:45:03 +0000 (10:45 +0800)]
fix several repo maker bugs

Change-Id: I6e19154c915044995539ca086896e9ef2a9575c1
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoRepoMaker: add ReviewRepo class, start repomaker refactor
Hasan Wan [Mon, 29 Oct 2012 13:15:01 +0000 (21:15 +0800)]
RepoMaker: add ReviewRepo class, start repomaker refactor

Change-Id: If3c11ef9223ced96907a44bfb266bc7b81085e15
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoAdd a new job pre_releaase for pre-release image creation
Hasan Wan [Mon, 15 Oct 2012 09:24:42 +0000 (17:24 +0800)]
Add a new job pre_releaase for pre-release image creation

Change-Id: Id2a685b39aba22fb6e4b1874f129b98cf7b1c8f8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoEnable 'RepoRequire' in repos configuration to link require repo to temp project
Hasan Wan [Mon, 22 Oct 2012 06:15:44 +0000 (14:15 +0800)]
Enable 'RepoRequire' in repos configuration to link require repo to temp project

Change-Id: I70d8c46c3098456fed056f76c78308045dfa8512
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agojob repo_maker, imager work
Hasan Wan [Mon, 22 Oct 2012 06:11:55 +0000 (14:11 +0800)]
job repo_maker, imager work

Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoBypass rpm singnature checking
Hasan Wan [Wed, 19 Sep 2012 07:01:01 +0000 (15:01 +0800)]
Bypass rpm singnature checking

Change-Id: I35e68ab614302477b94fc68a45efed7e2d793fa5
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoadd missed email templates
Hasan Wan [Wed, 19 Sep 2012 01:53:24 +0000 (09:53 +0800)]
add missed email templates

Change-Id: I4fc8ecf959cb6b4ce7eda33a90e887113221d8ee
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoMerge image-dispatcher to repomaker, basic image creation process works
Hasan Wan [Tue, 18 Sep 2012 03:22:28 +0000 (11:22 +0800)]
Merge image-dispatcher to repomaker, basic image creation process works

Change-Id: I8a1926b9616149cd35f60ff3eee4c635e8f62201

11 years agoinitial import imager and reports job script
Li Yi [Fri, 24 Aug 2012 05:02:34 +0000 (13:02 +0800)]
initial import imager and reports job script

reuse boss-imager-participant and boss-reports-participant

11 years agosave repo data and enable to dispatch obs build events
Li Yi [Fri, 24 Aug 2012 05:00:11 +0000 (13:00 +0800)]
save repo data and enable to dispatch obs build events

11 years ago[jenkins image-dispatcher]: add the image-dispatch job, reuse boss-image-dispatcher
Li Yi [Fri, 10 Aug 2012 10:36:40 +0000 (18:36 +0800)]
[jenkins image-dispatcher]: add the image-dispatch job, reuse boss-image-dispatcher

11 years ago[jenkins repomaker]: add repomaker build script for jenkins job
Li Yi [Thu, 9 Aug 2012 10:48:18 +0000 (18:48 +0800)]
[jenkins repomaker]: add repomaker build script for jenkins job

import repomaker from boss and do the same thing as a jenkins job

11 years agoset default encoding to utf-8
Lin Yang [Thu, 20 Dec 2012 03:06:51 +0000 (11:06 +0800)]
set default encoding to utf-8

Change-Id: Iaed758154f3f094c6a0998886f7d6d6e3420a27e
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoSupport " in tag message
Lin Yang [Wed, 19 Dec 2012 07:06:44 +0000 (15:06 +0800)]
Support " in tag message

Change-Id: I9db045f3dd28e0803c1510747d963acdf8be6f11
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocut off reqinfo if it exceed 100 lines
Lin Yang [Tue, 18 Dec 2012 02:45:18 +0000 (10:45 +0800)]
cut off reqinfo if it exceed 100 lines

Change-Id: I0e81bf1646ced6c984b667bf08b96a97a797e527

11 years agomore strict check for spec file
Lin Yang [Mon, 17 Dec 2012 11:06:13 +0000 (19:06 +0800)]
more strict check for spec file

Change-Id: If14d682a287b2bdb3b3cb2106b81c9b8f4f45454
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoupgrade gbs related command to fit gbs 0.12
Lin Yang [Mon, 17 Dec 2012 09:13:24 +0000 (17:13 +0800)]
upgrade gbs related command to fit gbs 0.12

Change-Id: I3837555be41981674ba44e8a7e818a781ac0aba2
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agodrop msger module
Lin Yang [Mon, 17 Dec 2012 08:19:40 +0000 (16:19 +0800)]
drop msger module

Change-Id: Ibce76832ccd31f5d189ef753c76a1be4071fec72
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agofetch tags when update local git repo
Lin Yang [Mon, 17 Dec 2012 06:08:32 +0000 (14:08 +0800)]
fetch tags when update local git repo

Change-Id: I62e9b6f135d1e63511d92f5e1b6c20caba8da356
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoHandle the issue of missing git repo under cache dir
Lin Yang [Thu, 13 Dec 2012 06:57:47 +0000 (14:57 +0800)]
Handle the issue of missing git repo under cache dir

Change-Id: I768d179120d953c22142e4bc8e274f3556f95e96
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoUse another script to update local git tree
Lin Yang [Mon, 10 Dec 2012 06:18:03 +0000 (14:18 +0800)]
Use another script to update local git tree

Change-Id: Icc682744e0c4c26e17f52c32d94fc6b14fe8bc25
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoGive warning about multiply spec files
Lin Yang [Fri, 7 Dec 2012 10:08:42 +0000 (18:08 +0800)]
Give warning about multiply spec files

Change-Id: Idab6624c1e9e7ba7a926774229f585076526c1b6
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agogive warning for multiply specfile under packaging
Lin Yang [Fri, 7 Dec 2012 04:01:19 +0000 (12:01 +0800)]
give warning for multiply specfile under packaging

Change-Id: I5689a1fbd0744837d30cdfdd81b869960069af93
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocatch no specfile exception when buildcheck
Lin Yang [Fri, 7 Dec 2012 03:26:19 +0000 (11:26 +0800)]
catch no specfile exception when buildcheck

Change-Id: I346c47a964c1c0b589c19fbda607204fac0b256c
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agomore clear feedback when change still under review
Lin Yang [Fri, 23 Nov 2012 09:55:54 +0000 (17:55 +0800)]
more clear feedback when change still under review

Change-Id: I7d5e20bef47e17e34e87f77c70e53e33094aad6d
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoonly update git cache when refupdate
Lin Yang [Fri, 23 Nov 2012 09:53:41 +0000 (17:53 +0800)]
only update git cache when refupdate

Change-Id: Ib1b99ca2d2e20ddf5805924fd5ffd7f08da3cddb
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agogive warning if no new changelog entry
Lin Yang [Fri, 23 Nov 2012 08:25:30 +0000 (16:25 +0800)]
give warning if no new changelog entry

Change-Id: Ia6ec8b9eb08c474db6209e3277fc33e2805e9e6a
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agoSupport pristine-tar when generate tarball tz
Lin Yang [Mon, 19 Nov 2012 06:30:00 +0000 (14:30 +0800)]
Support pristine-tar when generate tarball

Because gbs based on local upstream and pristine-tar branch, not
remote, to support pristine-tar. So checkout these two branches before
gbs export.

Change-Id: I1340497f6cc702be650fbea465f6a291342f5255
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
11 years agocombine build result of all repo into one message
Lin Yang [Mon, 5 Nov 2012 09:47:40 +0000 (17:47 +0800)]
combine build result of all repo into one message

11 years agorename triggerbuild to buildtrigger, fix bugs
Hasan Wan [Fri, 2 Nov 2012 08:25:52 +0000 (16:25 +0800)]
rename triggerbuild to buildtrigger, fix bugs

Change-Id: I8cb140ddb42ab7a85f663a151d3ce1c64865c6a8
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agolisten obs event to get buildcheck result
Lin Yang [Fri, 2 Nov 2012 08:19:28 +0000 (16:19 +0800)]
listen obs event to get buildcheck result

11 years agouse parameter file to trigger downstream job
Lin Yang [Fri, 2 Nov 2012 05:57:03 +0000 (13:57 +0800)]
use parameter file to trigger downstream job

11 years agosend out warning if no mapping for this project
Lin Yang [Mon, 29 Oct 2012 07:24:33 +0000 (15:24 +0800)]
send out warning if no mapping for this project

11 years agoClean unused function in utils module 0.9
Lin Yang [Wed, 26 Sep 2012 04:37:39 +0000 (12:37 +0800)]
Clean unused function in utils module

11 years agoMove rpmlint to isolate module
Lin Yang [Wed, 26 Sep 2012 04:29:24 +0000 (12:29 +0800)]
Move rpmlint to isolate module

11 years agoImprove gerrit comment when submit to OBS directly
Lin Yang [Thu, 20 Sep 2012 08:37:42 +0000 (16:37 +0800)]
Improve gerrit comment when submit to OBS directly

11 years agoSupport more gerrit client function
Lin Yang [Thu, 20 Sep 2012 03:46:05 +0000 (11:46 +0800)]
Support more gerrit client function

11 years agoMerge branch 'devel' of otctools:jenkins-scripts into devel
Lin Yang [Wed, 19 Sep 2012 05:40:49 +0000 (13:40 +0800)]
Merge branch 'devel' of otctools:jenkins-scripts into devel

11 years agoMerge "Optimize code" into devel
Hasan Wan [Wed, 19 Sep 2012 02:21:03 +0000 (19:21 -0700)]
Merge "Optimize code" into devel

11 years agouse new method to parse git-obs-mapping xml file
Lin Yang [Tue, 18 Sep 2012 09:21:23 +0000 (17:21 +0800)]
use new method to parse git-obs-mapping xml file

11 years agoQuit execution when tag is deleted
Lin Yang [Mon, 17 Sep 2012 06:54:45 +0000 (14:54 +0800)]
Quit execution when tag is deleted

11 years agoDisable check tag format when it don't map to OBS
Lin Yang [Fri, 14 Sep 2012 06:59:30 +0000 (14:59 +0800)]
Disable check tag format when it don't map to OBS

11 years agoFix typo when use 'GIT_CACHE_DIR' variable
Lin Yang [Fri, 14 Sep 2012 06:25:12 +0000 (14:25 +0800)]
Fix typo when use 'GIT_CACHE_DIR' variable

11 years agoCreate a mapping file handle lib
Hasan Wan [Wed, 12 Sep 2012 02:12:35 +0000 (10:12 +0800)]
Create a mapping file handle lib

Change-Id: I46aa301e245be5c5334be3cf00c37e632821255a
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
11 years agoOptimize code
LingchaoX Xin [Wed, 12 Sep 2012 10:41:42 +0000 (18:41 +0800)]
Optimize code

Change-Id: I759c4fae0470d5d0b44842b026d7e358ac5a84b6

11 years agosupport send email to CC list
Lin Yang [Wed, 12 Sep 2012 06:17:33 +0000 (14:17 +0800)]
support send email to CC list

11 years agoSupport abstract message from GPG signed tag
Lin Yang [Fri, 7 Sep 2012 07:26:04 +0000 (15:26 +0800)]
Support abstract message from GPG signed tag

12 years agoFix compat issue with older OBS, fix email send bug in request
Hasan Wan [Fri, 7 Sep 2012 05:16:19 +0000 (13:16 +0800)]
Fix compat issue with older OBS, fix email send bug in request

Change-Id: Iae48f86f6b3ce9fbd272c9cc03e1b215e6b141d0
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoAdd "job_" prefix to all jenkins scripts
Lin Yang [Thu, 6 Sep 2012 10:32:47 +0000 (18:32 +0800)]
Add "job_" prefix to all jenkins scripts

12 years agoEnhance the message of tag format check
Lin Yang [Thu, 6 Sep 2012 09:30:53 +0000 (17:30 +0800)]
Enhance the message of tag format check

12 years agoSupport special character in gerrit comment
Lin Yang [Thu, 6 Sep 2012 09:16:53 +0000 (17:16 +0800)]
Support special character in gerrit comment

use single quotes to strong quoting all meta-characters in SSH

12 years agoBuildcheck scripts clean up
Hasan Wan [Thu, 30 Aug 2012 09:08:31 +0000 (17:08 +0800)]
Buildcheck scripts clean up

Change-Id: I4c2cb7a47d1f69484332406170011977b9d7e937
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoFix a bug about mail_sener
Hasan Wan [Thu, 30 Aug 2012 09:07:02 +0000 (17:07 +0800)]
Fix a bug about mail_sener

Change-Id: Ib493f73b405631f5117ea47735f84051e14d9fb5
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoSupport check whether commit exist in remote branch
Lin Yang [Thu, 30 Aug 2012 08:17:56 +0000 (16:17 +0800)]
Support check whether commit exist in remote branch

12 years agoMail sender clean up
Hasan Wan [Wed, 29 Aug 2012 09:35:39 +0000 (17:35 +0800)]
Mail sender clean up
Prepare the mail body before trigger the mail sender job

Change-Id: Ia2523f219b97b19a7dc5e0d46ad76d150dbc68db
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoRevert "bug fix: use base64 encoded string to pass email env"
Hasan Wan [Wed, 29 Aug 2012 08:26:47 +0000 (16:26 +0800)]
Revert "bug fix: use base64 encoded string to pass email env"

This reverts commit f8adc8b006c6f50b994df8ef9238e4adf6230e6a.

12 years agoFix return error when call get_config
LingchaoX Xin [Wed, 29 Aug 2012 02:54:24 +0000 (10:54 +0800)]
Fix return error when call get_config

When I call get_config with `get_config('remote.origin.url')` in IPython
, it occured bellow:

Out[10]: 'ssh://xxx@xxx/jenkins-scripts.gi'

But right result should be:

Out[10]: 'ssh://xxx@xxx/jenkins-scripts.git'

Change-Id: I0d45b34cc3d6879170d8aeb819a53c1efffda462

12 years agouse gerrit module instead of using gerrit command directly
Lin Yang [Tue, 28 Aug 2012 09:42:33 +0000 (17:42 +0800)]
use gerrit module instead of using gerrit command directly

12 years agobug fix: use base64 encoded string to pass email env
Hasan Wan [Tue, 28 Aug 2012 08:11:42 +0000 (16:11 +0800)]
bug fix: use base64 encoded string to pass email env

Change-Id: I4ab023703b16844d3ffb477d9e69790f44073dac
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
12 years agoUpdate _gerritinfo file when submit to OBS
Lin Yang [Mon, 27 Aug 2012 07:15:15 +0000 (15:15 +0800)]
Update _gerritinfo file when submit to OBS

_gerritinfo will follow below format:
PROJECT: ${gerrit_project}
COMMIT_ID: ${commit_id}

12 years agoAuto generate new changelog entry baseon submit tag
Hasan Wan [Fri, 24 Aug 2012 07:10:06 +0000 (15:10 +0800)]
Auto generate new changelog entry baseon submit tag

Change-Id: I05f542e75d93b1e34cd340a0306717718e7cb26b
Signed-off-by: Hasan Wan <hasan.wan@intel.com>