Project

Profile

Help

Task #7415

Add job for removing line from given file

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

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

100%

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

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/tree/7415_job_for_remove_line_in_file

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

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

# Add lines:
promaster|flowmaster
promaster|argument
# to:
run_test_branches.list
# OR
on_push_maxscale_branches.list

# Run job with branch=promaster, file=run_test_branches.list:
http://maxscale-jenkins.mariadb.com:8090/view/All/job/remove_line_from_file/build?delay=0sec

# Run 3 times. Results:
promaster exist
promaster remove success
Finished: SUCCESS

promaster exist
promaster remove success
Finished: SUCCESS

promaster not exist!
Finished: FAILURE

# Check file:
cat run_test_branches.list


Description

Create yaml for job:
- params:
-- branch (string)
-- file (choice - $HOME/run_test_branches.list, $HOME/on_push_maxscale_branches.list)
- builders:
-- remove string containing $branch from the $file


Related issues

Copied from [mdbci] Maria DB Continuous integration tool - Task #7414: Add job for adding new line for given file Closed 18.08.2016 Actions
Copied to [mdbci] Maria DB Continuous integration tool - Task #7416: Add job for printing given file content Closed 18.08.2016 Actions

History

#1 Updated by Mark Zaslavskiy almost 4 years ago

  • Copied from Task #7414: Add job for adding new line for given file added

#2 Updated by Mark Zaslavskiy almost 4 years ago

  • Copied to Task #7416: Add job for printing given file content added

#3 Updated by Mark Zaslavskiy almost 4 years ago

  • Description updated (diff)

#4 Updated by Mark Zaslavskiy almost 4 years ago

  • Assignee changed from Mark Zaslavskiy to Ilfat Kinyaev

#5 Updated by Ilfat Kinyaev almost 4 years ago

  • Estimated time set to 2:00 h

#6 Updated by Ilfat Kinyaev almost 4 years ago

  • Status changed from New to Active / In progress

#7 Updated by Ilfat Kinyaev almost 4 years ago

  • % Done changed from 0 to 20

NOTE: remove first string with branch.

#8 Updated by Ilfat Kinyaev almost 4 years ago

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

#10 Updated by Mark Zaslavskiy almost 4 years ago

Comments in pull request

#11 Updated by Mark Zaslavskiy almost 4 years ago

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

#12 Updated by Mark Zaslavskiy almost 4 years ago

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

#13 Updated by Mark Zaslavskiy almost 4 years ago

  • Status changed from Active / In progress to Review

#14 Updated by Mark Zaslavskiy almost 4 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF