services/jenkins-jobs.git
7 years agoNEWJOB: litmus_jira_issue_receiver and litmus_tct_file_receiver 86/117886/2
Junghyun Kim [Wed, 8 Mar 2017 02:34:06 +0000 (11:34 +0900)]
NEWJOB: litmus_jira_issue_receiver and litmus_tct_file_receiver

These scripts are written by Jaekyu Park<jk7744.park@samsung.com>.

Change-Id: I25ec46044700e661e8a6c3a725fb374e1e64e64d
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoMerge "NEW JOB: update_scm_meta_git_for_dashboard" into devel
Junghyun Kim [Mon, 6 Mar 2017 02:36:49 +0000 (18:36 -0800)]
Merge "NEW JOB: update_scm_meta_git_for_dashboard" into devel

7 years ago[BuildMonitor][JOBS] fix 'BUILD-MONITOR(Pre_Snap_End)' job incorrect order issue 57/117157/1
SungHun Hwang [Fri, 3 Mar 2017 04:53:02 +0000 (13:53 +0900)]
[BuildMonitor][JOBS] fix 'BUILD-MONITOR(Pre_Snap_End)' job incorrect order issue

1. add new TriggerBuilder for 'Pre_Snap_End' at the bottom
   to make sure to execute in correct order
   => BUILD-MONITOR_Pre_Snap_End.env

2. sync up the missing part
   => BUILD-MONITOR-*.env

Change-Id: I6a01af2e7faec2f1adb8db1b9e83ce0649dd07ad
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
7 years ago[BuildMonitor] fix 'BUILD-MONITOR(Post_Image)' job fail issue after 'SR Accept' 71/116771/1
SungHun Hwang [Tue, 28 Feb 2017 07:18:30 +0000 (16:18 +0900)]
[BuildMonitor] fix 'BUILD-MONITOR(Post_Image)' job fail issue after 'SR Accept'

After 'SR Accept', occasionally,
'BUILD-MONITOR' job which bm_stage is 'Post_Image' failed
this is bcz env file is overlapped and
the order of inserting the table_id is twisted

So I fixed the env file name

Change-Id: I4a62949a29f9280d6f7b596bc7206c1438a22ddb
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
7 years agoNEW JOB: update_scm_meta_git_for_dashboard 34/116734/3
Junghyun Kim [Tue, 28 Feb 2017 04:28:28 +0000 (13:28 +0900)]
NEW JOB: update_scm_meta_git_for_dashboard

This job makes two mappings:
  1) mappings between git projects and gerrit domans
  2) mappings between gerrit domains and user-emails

This information is saved in JSON format.
This will be used in Tizen dashboard.

Change-Id: Id082e2af38599ca23c7cf80e8ef346f716380c55
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoRelease 1.4 release-20170224
SoonKyu Park [Thu, 23 Feb 2017 08:49:34 +0000 (17:49 +0900)]
Release 1.4

7 years ago[BuildMonitor] Add the 'DROPPED_PRERELEASE_PROJECTS' value
SungHun Hwang [Fri, 10 Feb 2017 10:23:26 +0000 (19:23 +0900)]
[BuildMonitor] Add the 'DROPPED_PRERELEASE_PROJECTS' value

will be replaced 'prerelease' to 'trbs'
so the build status of the dropped profiles
should not be shown at Tizen dashboard

you can set the dropped project by using this variable

Change-Id: Ic599535a59f8a00ab6bb6a23329478743fd8067e
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
7 years agoNEW JOB: TRBS_test_result_receiver
Junghyun Kim [Fri, 10 Feb 2017 04:13:05 +0000 (13:13 +0900)]
NEW JOB: TRBS_test_result_receiver

This job gets results from TRBS test machine and stores the results into DB.

Change-Id: Ic0a63a3c6ed97931aabe3028a060a451fd971fdd
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoADD jobs for jenkins-jobs
Yonghee Han [Fri, 10 Feb 2017 01:21:13 +0000 (10:21 +0900)]
ADD jobs for jenkins-jobs
Create a jenkins-jobs-tools-testing deb and rpm files
files :
jobs/Serivces-obs-service-gbs/config.xml
jobs/Services-Default/config.xml
jobs/Services-jenkins-scripts/config.xml
jobs/Services-obs-service-git-buildpackage/config.xml
jobs/Services-python-snapdiff/config.xml
jobs/Tools-Default/config.xml
jobs/Tools-gbs/config.xml
jobs/Tools-git-buildpackage/config.xml
jobs/Tools-mic/config.xml
jobs/Tools-repa/config.xml

output : Make install the jenkins-jobs-tools-testing

Change-Id: I07371645a548c35a0851a59afa3682ced6415a64

7 years ago[BuildMonitor] Add tirgger "BUILD-MONITOR" job for checking image-creation
SungHun Hwang [Mon, 6 Feb 2017 05:21:38 +0000 (14:21 +0900)]
[BuildMonitor] Add tirgger "BUILD-MONITOR" job for checking image-creation

Add trigger the job at the bottom of the creat-snapshot job
to check the completion of image-creation at Post-release
bcz the behavior is different between prerelease and postrelease

env file : BUILD-MONITOR-POST.env

Change-Id: I58921edcc86670c9c7aa87aa11af286c2034fca4
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
7 years ago[BuildMonitor] Add the MAX_MSG_LEN value
SungHun Hwang [Mon, 6 Feb 2017 05:12:40 +0000 (14:12 +0900)]
[BuildMonitor] Add the MAX_MSG_LEN value

Add the MAX_MSG_LEN value to dynamically configure the length of msgs

Change-Id: I28205cc5c6703dc4dfba017bb68f492bf12f545e
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
7 years agoRelease 1.3 release-20170206
SoonKyu Park [Sat, 4 Feb 2017 06:05:03 +0000 (15:05 +0900)]
Release 1.3

Change-Id: I3cc8aea879897f5ab47fa822dc967926bf774643

7 years agoInstalls to /var/lib/jenkins/jobs/
hyokeun [Fri, 20 Jan 2017 02:45:09 +0000 (11:45 +0900)]
Installs to /var/lib/jenkins/jobs/

Change-Id: Ib4951ffbd613dd2020f4ee4303a9fee82b99fd16

7 years agoUpdate build_log_url after buildlogs job is finished.
Junghyun Kim [Mon, 16 Jan 2017 02:48:41 +0000 (11:48 +0900)]
Update build_log_url after buildlogs job is finished.

Change-Id: I120232fa8e012624b69b060eb844852b0a339660
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years ago add debian package
shuai.fu [Sat, 22 Oct 2016 07:16:40 +0000 (15:16 +0800)]
   add debian package

Change-Id: I55a72d64bb5d8885e9d26589fa29e96b8a2de26a
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
7 years agoJOB ADDED: repa
Junghyun Kim [Tue, 10 Jan 2017 01:49:45 +0000 (10:49 +0900)]
JOB ADDED: repa

To accept/reject SRs on the Tizen dashboard.

Change-Id: I7e2a8f68ea9c415d366f438c4f05237b22580d1d
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoJOB ADDED: add_git_tag
Junghyun Kim [Mon, 9 Jan 2017 07:08:57 +0000 (16:08 +0900)]
JOB ADDED: add_git_tag

Change-Id: I93bb6fb2da7528b4aff20727af6aa3d16f2ff543
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoJOB ADDED: update-nuget
Yonghee Han [Fri, 6 Jan 2017 08:07:17 +0000 (17:07 +0900)]
JOB ADDED: update-nuget
Function : update Nuget package to Nuget server

Change-Id: I91f9fc70af464657c56049a83e540462f39763cb

7 years agoRelease 1.2 54/108654/1 release-20161231
SoonKyu Park [Thu, 5 Jan 2017 09:52:17 +0000 (18:52 +0900)]
Release 1.2

Change-Id: Ifb217473da05e7e7c83c6718aa3e8dd3c659f9f6

7 years agoMerge conflicts from 'git merge' from devel branch
SoonKyu Park [Thu, 5 Jan 2017 05:22:27 +0000 (14:22 +0900)]
Merge conflicts from 'git merge' from devel branch

Change-Id: I3f9ad443e14feaf1aba8485c4b63175f572f565e

7 years ago[BuildMonitor] Add new jobs named "BUILD-MONITOR" 16/96716/2
SungHun Hwang [Thu, 10 Nov 2016 02:54:43 +0000 (11:54 +0900)]
[BuildMonitor] Add new jobs named "BUILD-MONITOR"

1. Add new jenkins job named "BUILD-MONITOR"
2. Modify the jenkins-jobs.spec
3. Needed add trigger as below (in case of using multi env)
  ex) multi env  ([PRE] Snap / [POST] Snap)
  ...
  <hudson.plugins.parameterizedtrigger.FileBuildParameterFactory>
      <filePattern>BUILD-MONITOR-*.env</filePattern>
      <noFilesFoundAction>SKIP</noFilesFoundAction>
  </hudson.plugins.parameterizedtrigger.FileBuildParameterFactory>
  ...

Change-Id: I8dfaf9d8878992b2f0b517fffdeb9c2b26cb2e3d
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
7 years agoMerge "new job : make_dep_graph." into devel
Yonghee Han [Wed, 9 Nov 2016 01:48:34 +0000 (17:48 -0800)]
Merge "new job : make_dep_graph." into devel

7 years ago[BuildMonitor] Added job configuration settings for BuildMonitor 16/95516/1
SungHun Hwang [Thu, 3 Nov 2016 11:58:15 +0000 (20:58 +0900)]
[BuildMonitor] Added job configuration settings for BuildMonitor

1. BuildMonitor enalbe/disable flag
2. database information

Change-Id: I6c035d6f68db200170946b2c7c997c8c146decaa
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>
7 years agoAdd job ref-snapshot-info-update 46/94246/1
hyokeun [Fri, 28 Oct 2016 01:07:56 +0000 (10:07 +0900)]
Add job ref-snapshot-info-update

Change-Id: I414fd196f456f4630900a1b7d6b9aa9b525e5194

7 years agonew job : make_dep_graph. 40/94040/1
Junghyun Kim [Tue, 25 Oct 2016 12:43:51 +0000 (21:43 +0900)]
new job : make_dep_graph.

it is triggred by buildlogs, pre-release-gerrit, and requests.

Also, job "buildlogs" is triggered by pre-release-create.

Change-Id: I83e5cd94412db1ec93afb4a1a895e87c9ea7d839
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
7 years agoRelease 1.1 95/90195/1 release-1.1
SoonKyu Park [Thu, 29 Sep 2016 02:38:08 +0000 (11:38 +0900)]
Release 1.1

Change-Id: Id0e83c60061d10d8a5e7c265e9535b224829bf79

7 years agoUpdate jenkins-jobs configuration
Yonghee Han [Thu, 11 Aug 2016 07:47:10 +0000 (16:47 +0900)]
Update jenkins-jobs configuration

Description
buildlogs : Add TRIGGER_INFO in Parameters
create-snapshot : changes parameters
image-creator : remove image-tester in parameterized-trigger
image-tester : Disable
mail_sender : Add TO,MESSAGE,FROM in Parameters
monitor_scm_meta_git : Disable
obs-event-dispatcher : New workflow about Snapshot
pre-release-create : add &quot;\n&quot; in addShortText
pre-release-gerrit : Add mail_sender in parameterized-trigger
re : add build-blocker-plugin
release-snapshot : add Tizen-base,Tizen-wearable,Tizen-tv,Tizen-common-artik,Tizen-3.0-ivi
requests : Fixed Notify email about reqeust author
rpm-build-log : Disable
submit-obs : Modify string
test-results-publisher : Disable

Change-Id: I91a5b5cc463aa1a13b11336309f2c518daa0ed4d

7 years agoAdd job check_scm_meta_git
Yonghee Han [Tue, 5 Jul 2016 10:48:12 +0000 (19:48 +0900)]
Add job check_scm_meta_git

Change-Id: Ibf06d6ac608d936d902834c785a5198442bb3cdc

7 years agoAdd new job for using scm/meta/git
Sehong Na [Thu, 16 Jun 2016 06:54:02 +0000 (15:54 +0900)]
Add new job for using scm/meta/git

Change-Id: I0f6cea3037771ab3767edeb12e2157f827246106
Signed-off-by: Sehong Na <sehong.na@samsung.com>
7 years agoUpdate jenkins-jobs configuration 90/83490/1
Yonghee Han [Thu, 11 Aug 2016 07:47:10 +0000 (16:47 +0900)]
Update jenkins-jobs configuration

Description
buildlogs : Add TRIGGER_INFO in Parameters
create-snapshot : changes parameters
image-creator : remove image-tester in parameterized-trigger
image-tester : Disable
mail_sender : Add TO,MESSAGE,FROM in Parameters
monitor_scm_meta_git : Disable
obs-event-dispatcher : New workflow about Snapshot
pre-release-create : add &quot;\n&quot; in addShortText
pre-release-gerrit : Add mail_sender in parameterized-trigger
re : add build-blocker-plugin
release-snapshot : add Tizen-base,Tizen-wearable,Tizen-tv,Tizen-common-artik,Tizen-3.0-ivi
requests : Fixed Notify email about reqeust author
rpm-build-log : Disable
submit-obs : Modify string
test-results-publisher : Disable

Change-Id: I91a5b5cc463aa1a13b11336309f2c518daa0ed4d

8 years agoAdd job check_scm_meta_git 10/78410/1
Yonghee Han [Tue, 5 Jul 2016 10:48:12 +0000 (19:48 +0900)]
Add job check_scm_meta_git

Change-Id: Ibf06d6ac608d936d902834c785a5198442bb3cdc

8 years agoAdd new job for using scm/meta/git 51/74951/1
Sehong Na [Thu, 16 Jun 2016 06:54:02 +0000 (15:54 +0900)]
Add new job for using scm/meta/git

Change-Id: I0f6cea3037771ab3767edeb12e2157f827246106
Signed-off-by: Sehong Na <sehong.na@samsung.com>
9 years agoRelease 1.0
ZhuoX Li [Tue, 10 Mar 2015 08:13:13 +0000 (16:13 +0800)]
Release 1.0

Change-Id: Id0c3150e6ca61c3acf7bd5fc01ae7b0dd71a59a4

9 years agoRelease 1.0 release-1.0 1.0
ZhuoX Li [Wed, 4 Mar 2015 09:09:41 +0000 (17:09 +0800)]
Release 1.0

Change-Id: I4e034be8a8dd89fcef429c7881f176e12f1400a4

9 years agoPrepare TMPDIR to avoid using lots of rootfs
Lin Yang [Fri, 13 Feb 2015 02:35:18 +0000 (10:35 +0800)]
Prepare TMPDIR to avoid using lots of rootfs

Image worker rootfs is small:8GB and producing multi-GB files there risks
filling it and risks failing entire image produce step. prepare TMPDIR env var
before calling qemu, pointing temp dir to /var/lib/jenkins/tmp.

Fixes: #2334

Change-Id: I7ab9ba5518594b56d3bf023c81a251ab548acc22
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
9 years agoAdd job logs-collector
Olev Kartau [Thu, 26 Feb 2015 15:17:36 +0000 (17:17 +0200)]
Add job logs-collector

This job copies and compresses jenkins job logs
to the location where these survive deletion by Jenkins

Change-Id: I78719f542500610dafe2b4f023a0447bfc78e17b

9 years agoRemove OBS repository from .extra-repos
Ed Bartosh [Mon, 16 Feb 2015 20:46:09 +0000 (22:46 +0200)]
Remove OBS repository from .extra-repos

No packages in Services repos depend on OBS anymore, so it's safe to
remove OBS repo from .extra-repos

Change-Id: I03b2bd00bc8cc7f334664d291b6eab4b6a925e02
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoRemove dependency to Jenkins
Ed Bartosh [Mon, 16 Feb 2015 20:19:10 +0000 (22:19 +0200)]
Remove dependency to Jenkins

This is done to avoid installation failures like this:
  Problem: nothing provides jenkins >= 1.509.2 needed by
  jenkins-jobs-0.16-0.dev.210.1.noarch

Another way to solve it is to add Jenkins repositories to
.extra-repos for all packages in Services repo. However,
this seems to be even worse than removing dependency to
Jenkins.

Change-Id: I06346e76265fbd27a92ba1787f63022c59162c9a
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoAdded job purge-old-directories
Olev Kartau [Sat, 14 Feb 2015 22:22:40 +0000 (00:22 +0200)]
Added job purge-old-directories

Change-Id: Idb9ea4c75789b15071c1e29115ce1aaced52c35f

9 years agoSet timeout of image-creator job
Ed Bartosh [Fri, 13 Feb 2015 11:43:26 +0000 (13:43 +0200)]
Set timeout of image-creator job

Set 15 minutes timeout to prevent jobs to stuck and block other jobs if
image creation is stuck.

Change-Id: I306d184aa7507ee7d42050ebc572e6d137bbd7cc
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoAdd OpenSUSE 13.1 and OBS repositories to .extra-repos
Ed Bartosh [Tue, 10 Feb 2015 13:54:35 +0000 (15:54 +0200)]
Add OpenSUSE 13.1 and OBS repositories to .extra-repos

Added OpenSUSE 13.1 repos to packaging/.extra-repos to support building
and testing for this distro with Jenkins.

Added OBS repositories. This should fix build failure:
nothing provides obs-server needed by obs-event-plugin

Change-Id: I39b90b7329258c3a244179c1e0ee1e50c8b61fc7
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoFix typo in job configuration
Ed Bartosh [Mon, 26 Jan 2015 11:24:59 +0000 (13:24 +0200)]
Fix typo in job configuration

Fixed unclock -> unlock typo.
It caused unlocking functionality to fail with
Error: Unsupported action: 'unclock'

Change-Id: I81906964b077f8ea529cbc66c7ba266f38116cd7
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoFix for job status and additional store of env
Igor Stoppa [Fri, 16 Jan 2015 17:56:39 +0000 (19:56 +0200)]
Fix for job status and additional store of env

Success = Test is executed succesfully
Unstable = Either some test fails or the build is not supported
Fail = Any other case (Test fails, image unvailable, other errors)

Add, for debuggign purposes, the environment file produced by the job.

Change-Id: If4d473cdde982c3831dcd31b472d9ca7307ea751

9 years agoChange the type of config.xml file.
ZhuoX Li [Thu, 15 Jan 2015 04:01:41 +0000 (12:01 +0800)]
Change the type of config.xml file.

These config.xml files should be the 'config' type.

Change-Id: I5144011e15de5547cdc26084190e7913418cc86d

9 years agoAdd label to re builds
Ed Bartosh [Sun, 11 Jan 2015 00:44:56 +0000 (02:44 +0200)]
Add label to re builds

Output of job_re is parsed by post-build groovy script for lines
'Submission XXX has been YYYY' and label is created out of matched
parts.

Examples of label:
 rejected submit/tizen/20150109.061022
 rebuilt submit/tizen_ivi/20150110.061123, etc

Change-Id: I5a23d1240072793977ca8dc535bb77f0464cf504
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoAdd parameter 'package'
Ed Bartosh [Sun, 11 Jan 2015 00:41:00 +0000 (02:41 +0200)]
Add parameter 'package'

This optional parameter is used when restarting service for the
submission. If not specified service will be restarted for all
packages in submission.

Change-Id: I0204748412a7218517692c5bc956cc00a6acd78f
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agore: Add new actions
Ed Bartosh [Sat, 10 Jan 2015 19:43:03 +0000 (21:43 +0200)]
re: Add new actions

Added 4 new actions to re job: rebuild, restart, lock and unlock.
Updated job description.

Change-Id: Ibdc0411c22247f6d0b39f7bb8fd711b6a75979d4
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agore: Add Tizen:TV and Tizen:Wearable projects
Ed Bartosh [Sat, 10 Jan 2015 19:37:39 +0000 (21:37 +0200)]
re: Add Tizen:TV and Tizen:Wearable projects

Added 2 active projects to re job by request from Samsung RE.

Change-Id: I430b90e57be0366fd00bd5f4363742a5afb9ee09
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoAllign job and script names for re job
Ed Bartosh [Sat, 10 Jan 2015 19:29:24 +0000 (21:29 +0200)]
Allign job and script names for re job

Used job_re.py script in job configuration.
Note that script has to be renamed in jenkins-scripts tree.

Change-Id: I36c292645bbc4c25c0e6f249ec0ed00d3badfc9e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoRename accept-or-reject-submission -> re
Ed Bartosh [Sat, 10 Jan 2015 19:26:50 +0000 (21:26 +0200)]
Rename accept-or-reject-submission -> re

Renamed job as it will include more functionality requested by RE.

Change-Id: I5f74c9b74316cdac1ff2117d3609d3040b28c4d9
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoAdd sync-obs job
Ed Bartosh [Mon, 5 Jan 2015 22:04:47 +0000 (00:04 +0200)]
Add sync-obs job

This job syncs content of git tree scm/meta/obs to OBS.

Refs: #1887

Change-Id: Ic182840f38dfff91a1170e350d1aab548276bdfa
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoSet rpm-build-log is lower priority than other
Xu Chang [Mon, 15 Dec 2014 06:20:23 +0000 (14:20 +0800)]
Set rpm-build-log is lower priority than other

Change-Id: Ia535065953cfc402487fe4e8063d16284752e557
Signed-off-by: Xu Chang <changx.xu@intel.com>
9 years agoSave more log for create-snapshot job
Xu Chang [Mon, 8 Dec 2014 03:21:05 +0000 (11:21 +0800)]
Save more log for create-snapshot job

Make it keep latest 1000 build logs to facilitate debug.

Change-Id: If9bd966c1bf600e5b19628a1da8c5da8d200c977
Fixes: #2206

9 years agoSave also log from tester.
Igor Stoppa [Mon, 10 Nov 2014 12:17:19 +0000 (14:17 +0200)]
Save also log from tester.

Change-Id: Ic1012b745efcd2fe732156e8d35eec309cb30012

9 years agoRemove obsolete parameter.
Igor Stoppa [Tue, 4 Nov 2014 19:31:45 +0000 (21:31 +0200)]
Remove obsolete parameter.

The tester itself will tell if it can test an image or not.

Change-Id: I8fdf21d93b2210d485bf9379d218dfff3ef7aa8b

9 years agoSupport release snapshot for milestone projects
Lin Yang [Wed, 22 Oct 2014 06:27:33 +0000 (14:27 +0800)]
Support release snapshot for milestone projects

Make the 'profile' choice parameter to be editable, so release engineer can
input any profile name. Backend script will check this input name whether exist
on repos.yaml setting.

Fixes: #2178

Change-Id: I4680790ff01f5b7a5f73ca6102c2c42ad08271ba
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
9 years agoBlock prerelease when create-snapshot is running
Xu Chang [Thu, 23 Oct 2014 05:46:38 +0000 (13:46 +0800)]
Block prerelease when create-snapshot is running

And set create-snapshot is high priority than prerelease.

Fixes: #2145

Change-Id: I108266fe717d9d45b6ff10ed1a8d8e96271ac0cd
Signed-off-by: Xu Chang <changx.xu@intel.com>
9 years agoUpdate jenkins-jobs configuration version
xuchangx [Thu, 23 Oct 2014 01:54:31 +0000 (09:54 +0800)]
Update jenkins-jobs configuration version

Change-Id: I58a5c67e7bde1a12b39dbd9aae018ceb901a351f

9 years agoSet the timeout plugins in pre-prereleae job.
xuchangx [Thu, 16 Oct 2014 08:44:24 +0000 (16:44 +0800)]
Set the timeout plugins in pre-prereleae job.

Change-Id: I9607d25e2d6a415fd5ac42a11c5f22a3254d0cdd

9 years agoRename requests to obs_reqeuest
ZhuoX Li [Fri, 10 Oct 2014 12:26:10 +0000 (20:26 +0800)]
Rename requests to obs_reqeuest

Eg: /jenkins-scripts/requests/email_templates/
     ----> /jenkins-scripts/obs_requests/email_templates/

Change-Id: Ifddc79e389cdc8d578d77a47155c84ab80d69638

9 years agoAdd parameter for IRIS event publish switch
Lin Yang [Fri, 10 Oct 2014 09:39:34 +0000 (17:39 +0800)]
Add parameter for IRIS event publish switch

Change-Id: Ib0ea0a840bbbd49f4b9537ba96a0abaebf2139c5
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
9 years agoChange the conditions of triggering downstream.
ZhuoX Li [Fri, 10 Oct 2014 06:51:43 +0000 (14:51 +0800)]
Change the conditions of triggering downstream.

Always trigger post-image-creation after image-creator.

Change-Id: I84f50f6afb87f11b5792ae4c660a37368dd5fae5

9 years agoAdd new build to trigger 'rpm-build-log' job.
ZhuoX Li [Fri, 10 Oct 2014 06:46:43 +0000 (14:46 +0800)]
Add new build to trigger 'rpm-build-log' job.

Change-Id: Ib076ad8c9c78cdae358c5f165ba350e595f21865

9 years agoAdd a job to get the rpm building result.
ZhuoX Li [Fri, 10 Oct 2014 06:43:21 +0000 (14:43 +0800)]
Add a job to get the rpm building result.

Change-Id: Ibcff5ba0dc2225e706b87be9d10fa9e308ae0121

9 years agoAdded new job accept-or-reject-submission
Ed Bartosh [Sat, 13 Sep 2014 11:27:47 +0000 (14:27 +0300)]
Added new job accept-or-reject-submission

This job will be run by RE. It doesn't require RE to be maintainer
of the target project as it uses maintainer account for its operations.

Fixes: #1886

Change-Id: Ia7c4555ccf9b11ee425b5d576eca276e26399b5d
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agoUse localhost as the default value of REDIS_HOST
JF Ding [Fri, 29 Aug 2014 22:55:11 +0000 (06:55 +0800)]
Use localhost as the default value of REDIS_HOST

Change-Id: I26e88edc98df622aa99d30c233fb4e88766e635e
Signed-off-by: JF Ding <jian-feng.ding@intel.com>
9 years agoChange monitor_scm_meta_git to silent mode
gaoxuesx [Tue, 9 Sep 2014 09:03:58 +0000 (17:03 +0800)]
Change monitor_scm_meta_git to silent mode

It will automatically send two comments back to gerrit,
one is sent by jenkins-script, another one is gerrit plugin.
The gerrit plugin is needless, so change it to silent mode

Change-Id: I19ecb8eb09476a4235425a2c114f4560357533cc
Signed-off-by: gaoxuesx <xuesongx.gao@intel.com>
9 years agoDelete the config info about buildcheck.
ZhuoX Li [Thu, 4 Sep 2014 06:50:32 +0000 (14:50 +0800)]
Delete the config info about buildcheck.

The job of buildcheck has been deleted.
Don't need to trigger it.

Change-Id: Iec067e7a0d9cebc3df1978dbf63c65f5bef25eca

9 years agoAdd job monitor_scm_meta_git
gaoxuesx [Wed, 27 Aug 2014 03:22:20 +0000 (11:22 +0800)]
Add job monitor_scm_meta_git

Using this job to check data of scm/meta/git project and update data to IRIS

Change-Id: I1dba20b7b6e8deef545024577fa1704c47fd8860
Signed-off-by: gaoxuesx <xuesongx.gao@intel.com>
9 years agoAdd a plugin for the jobs maximum time limit
Liu jue [Fri, 8 Aug 2014 05:58:06 +0000 (13:58 +0800)]
Add a plugin for the jobs maximum time limit

Change-Id: I429d17cb9fe7b8f8030eb3283d6a9b57f4629991
Fixes: #1937

9 years agodelete no use parameter 'project'
Liu jue [Tue, 12 Aug 2014 02:59:38 +0000 (10:59 +0800)]
delete no use parameter 'project'

Change-Id: I8480e480d536c2edf41a26498d230e092e9ed7e0

9 years agoGet rid of dependency of 'gbs'.
ZhuoX Li [Fri, 8 Aug 2014 08:48:37 +0000 (16:48 +0800)]
Get rid of dependency of 'gbs'.

Jenkins scripts job_buildcheck_post.py job_policycheck.py
is unused for us. They should be removed.

Fixes: #1546

Change-Id: Ia553eeaeb07b1f4849f15c8b6994563472c128dc

9 years agoEnable access of all OBS projects for repo creation.
ZhuoX Li [Thu, 7 Aug 2014 09:15:39 +0000 (17:15 +0800)]
Enable access of all OBS projects for repo creation.

Change-Id: Iac111fc70cbf1a9c32376d9fc7be5ba8fd022a6c

10 years agoShow test results in Jenkins
Igor Stoppa [Tue, 17 Jun 2014 12:32:03 +0000 (15:32 +0300)]
Show test results in Jenkins

Change-Id: I2e6ba7223184b30f828d54f23abd893f392260f5

10 years agoTrigger the publication of testing results to OBS.
Igor Stoppa [Mon, 16 Jun 2014 10:59:02 +0000 (13:59 +0300)]
Trigger the publication of testing results to OBS.

Change-Id: Idea542208a1315bd120dc37811fcf75e3d9fea92

10 years agoJob publishing test results to OBS
Igor Stoppa [Thu, 3 Jul 2014 09:59:29 +0000 (12:59 +0300)]
Job publishing test results to OBS

Change-Id: I3f842f551bada790b2cdb096cff0eebafad86d2c

10 years agoFail the execution unless all the tests PASS
Igor Stoppa [Mon, 16 Jun 2014 10:58:17 +0000 (13:58 +0300)]
Fail the execution unless all the tests PASS

Change-Id: Iaafab2ce248701bbd1910177e2f493b814502b8a

10 years agoFilter defining paramters of the testable image.
Igor Stoppa [Mon, 19 May 2014 09:12:51 +0000 (12:12 +0300)]
Filter defining paramters of the testable image.

Currently images are of *.bz2 type and require a
.bmap companion file.
Should this change in the future, these are the
parameters to adjust.

Change-Id: I96ac2d36960c2304e910e6c77c4629600c54d4e1

10 years agoFix error in regex: remove quotes.
Igor Stoppa [Mon, 19 May 2014 12:12:35 +0000 (15:12 +0300)]
Fix error in regex: remove quotes.

The quotes around the regex are not needed and will cause
an erroneous match.

Change-Id: Iddff3aee3262181d16067110541cff7b4788c50c

10 years agoJenkins job for running tests of images on real HW
Igor Stoppa [Wed, 14 May 2014 09:56:17 +0000 (12:56 +0300)]
Jenkins job for running tests of images on real HW

Change-Id: Id86edcdcb9d21574817a7e56e649494305fa86d4

10 years agoTest only supported Tizen IVI images (mbr i586).
Igor Stoppa [Tue, 6 May 2014 13:16:59 +0000 (16:16 +0300)]
Test only supported Tizen IVI images (mbr i586).

Change-Id: I5a4f377eef1ad703596ebdf44827879ca22a197a

10 years agoTriggering of testing job - PART 2
Igor Stoppa [Wed, 14 May 2014 08:42:25 +0000 (11:42 +0300)]
Triggering of testing job - PART 2

This commit is the functional part of the changes made through the
jenkins UI, to trigger the automated testing of images that both
build successfully and target supported HW.

Change-Id: Ieda3d40b20a390c0c3d9a1eaff4e5c5352553aca

10 years agoTriggering of testing job - PART 1
Igor Stoppa [Wed, 14 May 2014 08:40:19 +0000 (11:40 +0300)]
Triggering of testing job - PART 1

This commit is purely cosmetic and contains non-functional parts
of the atomic change obtained when modifying the job from the
jenkins UI.

Change-Id: I6534bce70afbf2188e7005ba527ef335ea477b94

10 years agoAdd new job to make release from snapshot
Hasan Wan [Wed, 4 Jun 2014 06:25:36 +0000 (09:25 +0300)]
Add new job to make release from snapshot

Change-Id: I8f9de8da7083e3f4c058f451f44c091d093273cf
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
10 years agoTrigger requests job with all OBS request events
Lin Yang [Wed, 7 May 2014 07:21:02 +0000 (15:21 +0800)]
Trigger requests job with all OBS request events

The OBS evnet dispatch job will insert 'sourceproject' into the trigger file
name. The * added means the request event from all project should trigger
request job.

Change-Id: Ie6d0dc050f225aa282da5a5e4b6eb93b9ec09623
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoDisable concurrent builds for pre-release-gerrit
Ed Bartosh [Sun, 4 May 2014 14:52:34 +0000 (17:52 +0300)]
Disable concurrent builds for pre-release-gerrit

As pre-release-gerrit job updates metadata in OBS concurrent builds
cause raise conditions for group submissions.
If group submission(multiple git trees tagged with the same submit/ tag)
is used several pre-release-gerrit builds can update meta in OBS projects
at the same time. This causes breakages like this:
Traceback (most recent call last):
  File "job_pre_release_gerrit.py", line 154, in <module>
    sys.exit(main(os.path.basename(sys.argv[0])))
  File "job_pre_release_gerrit.py", line 148, in main
    build, obs_target_prj, project)
  File "job_pre_release_gerrit.py", line 66, in create
    build.unlink_project(obs_project)
  File "common/buildservice.py", line 516, in unlink_project
    raise ObsError('project: %s has not links' %(project))

This happens whtn one job-pre-release-gerrit build disables the linking of
prerelease project and another build tries to also disable it.

Fixes: #1845

Change-Id: I50e1e7fdf6a9d6afa8e03b053f1135aa96553648
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdd gerrit fetch and review url
Yang Lin [Fri, 25 Apr 2014 04:22:46 +0000 (12:22 +0800)]
Add gerrit fetch and review url

When repomaker generate manifest, it will try to get gerrit fetch and review
url from enironment variables. So add these two into jobs/configuration, and
set default value to tizen.org.

Change-Id: I3c0c3a579c3da63eec714eb857feead7a69201a6
Signed-off-by: Yang Lin <lin.a.yang@intel.com>
10 years agoTrigger multiply snapdiff after snapshot creation
Yang Lin [Fri, 25 Apr 2014 03:34:14 +0000 (11:34 +0800)]
Trigger multiply snapdiff after snapshot creation

After updated repomaker to support multiply repos into one single snapshot, it
should trigger multiply snapdiff build for the corresponding repo, because one
snapdiff build can only generate diff report for one repo.

Change-Id: I322f9e8a8a8287a2bf1d7aee7cb58f1476be3d87
Signed-off-by: Yang Lin <lin.a.yang@intel.com>
10 years agoChanged version in devel to 0.16
Ed Bartosh [Tue, 15 Apr 2014 07:20:43 +0000 (10:20 +0300)]
Changed version in devel to 0.16

Change-Id: I33d95ff62305ce1d800b41044efd2061ab3e2968
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoTrigger the post-image-creation job in post-build actions
Hasan Wan [Tue, 25 Feb 2014 13:58:24 +0000 (15:58 +0200)]
Trigger the post-image-creation job in post-build actions
Clean the workspace before every build

Fixes: #1650

Change-Id: I72ddbd6588d59f095fd251c9aeb72dd8b9aec336
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
10 years agoAdded label to requests builds
Ed Bartosh [Sat, 15 Feb 2014 19:07:45 +0000 (21:07 +0200)]
Added label to requests builds

Label consists of target project, target package, SR status and SR
number.

Change-Id: I90c0c3d64c2d6f904f4900edcdd23d92b05e2ea4
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdded TRIGGER_INFO parameter to requests job
Ed Bartosh [Sat, 15 Feb 2014 16:55:46 +0000 (18:55 +0200)]
Added TRIGGER_INFO parameter to requests job

Without this parameter it's not possible to restart the job.

Change-Id: I868023b6379628402ed8dd59af071a567d1b7bc2
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoDisabled policy-check and build-check jobs
Ed Bartosh [Sat, 15 Feb 2014 16:56:45 +0000 (18:56 +0200)]
Disabled policy-check and build-check jobs

Disabled by Alexander Kanevskiy on tizen.org infra as they generate a
lot of noise and developers were complaining.

Change-Id: I9fc964b5359d093e46d53d9357ecd3283072b3c6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoNo need to limit project type in requests filter
Lingchao Xin [Fri, 14 Feb 2014 08:28:08 +0000 (16:28 +0800)]
No need to limit project type in requests filter

Since we have limited it in our scripts

Change-Id: I0ad001093a008eb7ac89e668401c3ae1df030a4b

10 years agoAdded TRIGGER_INFO parameter to pre-release-cleanup job
Ed Bartosh [Thu, 13 Feb 2014 14:34:43 +0000 (16:34 +0200)]
Added TRIGGER_INFO parameter to pre-release-cleanup job

Without this parameter it's not possible to restart the job.

Change-Id: I121d36dcfef5f8e1eb5d733bcbf1ee7a09385eaf
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoAdd templates copy
Lingchao Xin [Fri, 24 Jan 2014 08:49:45 +0000 (16:49 +0800)]
Add templates copy

Change-Id: I3fc73c06916d7e8d24eed431360e1bc430609a2e

10 years agoTypo fix
Lingchao Xin [Fri, 24 Jan 2014 08:00:58 +0000 (16:00 +0800)]
Typo fix

Change-Id: I9c3590032a562cce811e31521a4f8b460ef2c9f5

10 years agoDisable concurrent build for requests job
Lin Yang [Tue, 10 Dec 2013 14:32:03 +0000 (22:32 +0800)]
Disable concurrent build for requests job

To avoid conflict on tag name of multiply builds, and because generally requests
job will only consume 2~3 seconds, no need to build concurrently, so disable it.

Fixes: #1525

Change-Id: I14906793cac85e716091949d744912d9d076d477
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
10 years agoAdd the missed definition in jobs/configuration
Hasan Wan [Fri, 17 Jan 2014 03:53:26 +0000 (05:53 +0200)]
Add the missed definition in jobs/configuration

Fixes: #1610

Change-Id: I1ed6e996618e599423983f2d49aed470d366cf26
Signed-off-by: Hasan Wan <hasan.wan@intel.com>
10 years agoAdd snapdiff-sync job
Lingchao Xin [Fri, 17 Jan 2014 08:56:45 +0000 (16:56 +0800)]
Add snapdiff-sync job

Change-Id: I0d1d528b3a8c34c68ed4b04deb3de5d149ce5502