Project

Profile

Help

Task #7414

Add job for adding new line for given file

Added by Mark Zaslavskiy over 3 years ago. Updated over 3 years ago.

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

90%

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

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/tree/7414_job_for_adding_new_line_in_file

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

http://maxscale-jenkins.mariadb.com:8090/view/All/job/adding_new_line_in_file/

# Build job:
http://maxscale-jenkins.mariadb.com:8090/view/All/job/adding_new_line_in_file/build?delay=0sec

# Parameters:
branch=master
test_set=some_set
file=run_test_branches.list

# Build and check console output. Expected:
master exist
master|some_set added to /home/vagranttest/run_test_branches.list
Finished: SUCCESS

# Check wrong branch:
branch=wrong_branch
test_set=some_set
file=run_test_branches.list

# Build and check console output. Expected:
wrong_branch not exist!
Finished: FAILURE


Description

Create yaml for job:
- params:
-- branch (string)
-- test_set (string)
-- file (choice - $HOME/run_test_branches.list, $HOME/on_push_maxscale_branches.list)
- builders:
-- check that $branch exists at maxscale repo
-- add "$branch|$test_set" to the end of $file


Related issues

Copied to [mdbci] Maria DB Continuous integration tool - Task #7415: Add job for removing line from given file Closed 18.08.2016 Actions

History

#1 Updated by Mark Zaslavskiy over 3 years ago

  • Description updated (diff)

#2 Updated by Mark Zaslavskiy over 3 years ago

  • Copied to Task #7415: Add job for removing line from given file added

#3 Updated by Mark Zaslavskiy over 3 years ago

  • Description updated (diff)

#4 Updated by Mark Zaslavskiy over 3 years ago

  • Description updated (diff)

#5 Updated by Mark Zaslavskiy over 3 years ago

  • Description updated (diff)

#6 Updated by Mark Zaslavskiy over 3 years ago

  • Assignee changed from Mark Zaslavskiy to Ilfat Kinyaev

#7 Updated by Ilfat Kinyaev over 3 years ago

  • Estimated time set to 2:00 h

#8 Updated by Ilfat Kinyaev over 3 years ago

  • Status changed from New to Active / In progress

#9 Updated by Ilfat Kinyaev over 3 years ago

  • % Done changed from 0 to 70
  1. Validate job:
    insider@kii:~/jjg$ ./scripts/validate_yaml.sh adding_new_line_in_file.yaml
    INFO:root:Will use anonymous access to Jenkins if needed.
    INFO:jenkins_jobs.builder:Number of jobs generated: 1
    INFO:jenkins_jobs.builder:Cache saved
    insider@kii:~/jjg$ echo $?
    0

#10 Updated by Ilfat Kinyaev over 3 years ago

  • % Done changed from 70 to 100
  • Test scenario updated (diff)

#11 Updated by Ilfat Kinyaev over 3 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy

#12 Updated by Mark Zaslavskiy over 3 years ago

Comments in pull request.

#13 Updated by Mark Zaslavskiy over 3 years ago

  • Status changed from Review to New
  • Assignee changed from Mark Zaslavskiy to Ilfat Kinyaev

#14 Updated by Ilfat Kinyaev over 3 years ago

  • Status changed from New to Active / In progress
  • % Done changed from 100 to 90

#15 Updated by Mark Zaslavskiy over 3 years ago

  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy

#16 Updated by Mark Zaslavskiy over 3 years ago

  • Status changed from Active / In progress to Review

#17 Updated by Mark Zaslavskiy over 3 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF