Project

Profile

Help

Task #7320

General pattern matching job for parsing pushes from maxscale-bsl

Added by Mark Zaslavskiy almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Category:
jenkins_jobs
Sprint/Milestone:
Start date:
28.07.2016
Due date:
% Done:

0%

Estimated time:
2:00 h
Target branch:
Test scenario:

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/31/files

0. Validation

Run:
path_to_jjg/scripts/validate_yaml.sh ./maxscale_jobs/match_pattern_from_bsl_push.yaml

Expected result:
INFO:jenkins_jobs.local_yaml:Including file './maxscale_jobs/include/branch_to_check.yaml' from path '.'
INFO:jenkins_jobs.local_yaml:Including file './maxscale_jobs/include/pattern.yaml' from path '.'
INFO:jenkins_jobs.local_yaml:Including file './maxscale_jobs/include/test_set.yaml' from path '.'
INFO:jenkins_jobs.local_yaml:Including file './maxscale_jobs/include/default_test_set.yaml' from path '.'
INFO:jenkins_jobs.local_yaml:Including file './maxscale_jobs/include/job_name.yaml' from path '.'
INFO:jenkins_jobs.local_yaml:Including file './maxscale_jobs/include/possible_jobs_for_bsl_push.yaml' from path '.'
INFO:jenkins_jobs.local_yaml:Including file './maxscale_jobs/include/check_branch_matches_pattern.yaml' from path '.'
INFO:jenkins_jobs.builder:Number of jobs generated: 1
INFO:jenkins_jobs.builder:Cache saved

1. Test job on maxscale-jenkins http://maxscale-jenkins.mariadb.com:8090/job/match_pattern_from_bsl_push

and builds that demonstrate how does pattern matching work

http://maxscale-jenkins.mariadb.com:8090/job/match_pattern_from_bsl_push/1/
(branch matches successfuly and run_test is called)

http://maxscale-jenkins.mariadb.com:8090/job/match_pattern_from_bsl_push/2/ (pattern is not matched and nothing happens)


Description

Params:
- regexp
- branch
- test_set
- job_to_trigger
Build:
- if branch match regexp then call job_to_trigger with given test_set (http://docs.openstack.org/infra/jenkins-job-builder/builders.html#builders.conditional-step)


Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #7003: Jenkisn job: automatic build for all branches which match regexClosed20.05.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Mark Zaslavskiy almost 5 years ago

  • Related to Task #7003: Jenkisn job: automatic build for all branches which match regex added

#2 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from New to Active / In progress

#3 Updated by Mark Zaslavskiy almost 5 years ago

  • Estimated time set to 2:00 h

#4 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Active / In progress to Testing
  • Assignee changed from Mark Zaslavskiy to Timofey Turenko
  • Test scenario updated (diff)

#5 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Testing to New
  • Assignee changed from Timofey Turenko to Mark Zaslavskiy

#6 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF