Project

Profile

Help

Maintenance. Planio will be undergoing a scheduled maintenance this weekend. Between Saturday, July 24 at 9:00 UTC and Sunday, July 25, 22:00 UTC your account might observe occasional downtimes which may last up to several minutes in some cases.

Task #8175

Remove source/value pair to one param

Added by Alexander Kaluzhny over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Timofey Turenko
Category:
-
Sprint/Milestone:
Start date:
11.04.2017
Due date:
% Done:

0%

Estimated time:
Target branch:
Test scenario:

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/154
https://github.com/mariadb-corporation/build-scripts-vagrant/pull/54

Testing run next jobs: http://maxscale-jenkins.mariadb.com:8090/search/?q=8175
there will be parameter scm_source which represents source which git will use.
try next source variants:
commit: ade2cef8527406b8591fdf2c014422383fb4efc3
tag: maxscale-2.1.0
branch: MXS-1209

For each time check console output, it should has in it's output some git activity with your source

All jobs should be successefull


Description

  • Find all jobs which use this pair (source/value) to define point in git history.
  • Use single parameter (git_history_point) and pass it to Branch Specifier (blank for 'any') from Source Code Management section .
  • Check modified job calls - they should be modified in order to use new params

Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #8172: Planning meeting tasksClosed11.04.2017

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

History

#1 Updated by Alexander Kaluzhny over 4 years ago

  • Related to Task #8172: Planning meeting tasks added

#2 Updated by Alexander Kaluzhny over 4 years ago

  • Subject changed from Search for Jenkins plugin that supports changin to tag and branch and commitid to Search for Jenkins plugin that supports changing to tag AND branch AND commitid
  • Description updated (diff)

#3 Updated by Mark Zaslavskiy over 4 years ago

  • Subject changed from Search for Jenkins plugin that supports changing to tag AND branch AND commitid to Remove source/value pair to one param
  • Description updated (diff)

#4 Updated by Mark Zaslavskiy over 4 years ago

  • Description updated (diff)

#5 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Ilfat Kinyaev
  • Priority changed from Normal to High

#6 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny

#7 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from New to Active / In progress

#9 Updated by Mark Zaslavskiy about 4 years ago

Please add explicit comment to value parameter: describe with examples how to pass commit, branch, tag.

#10 Updated by Alexander Kaluzhny about 4 years ago

  • Test scenario updated (diff)

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/154
https://github.com/mariadb-corporation/build-scripts-vagrant/pull/54

Testing run next jobs: http://maxscale-jenkins.mariadb.com:8090/search/?q=8175
there will be parameter scm_source which represents source which git will use.
try next source variants:
commit: ade2cef8527406b8591fdf2c014422383fb4efc3
tag: maxscale-2.1.0
branch: MXS-1209

For each time check console output, it should has in it's output some git activity with your source.

Here http://maxscale-jenkins.mariadb.com:8090/job/8175_build/11/console test for with tag(maxscale-2.1.0) source:

Fetching upstream changes from git@github.com:mariadb-corporation/maxscale.git
 > git fetch --tags --progress git@github.com:mariadb-corporation/maxscale.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/maxscale-2.1.0^{commit} # timeout=10
 > git rev-parse maxscale-2.1.0^{commit} # timeout=10
Checking out Revision 5648f708afaec4cfeae25bb82c0b047e8a045a81 (maxscale-2.1.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5648f708afaec4cfeae25bb82c0b047e8a045a81

All jobs should be successefull

#11 Updated by Alexander Kaluzhny about 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

#12 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from Review to New
  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

please add link and example of how to pass tag|branch (without collisions) to source param description

#13 Updated by Alexander Kaluzhny about 4 years ago

  • Status changed from New to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

#14 Updated by Mark Zaslavskiy about 4 years ago

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

#15 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from Testing to New
  • Assignee changed from Timofey Turenko to Alexander Kaluzhny

#16 Updated by Mark Zaslavskiy about 4 years ago

check scripts/jobs where scm_source is used - refs/heads/ and refs/tag/ should be removed from this env variable

#17 Updated by Alexander Kaluzhny about 4 years ago

  • Status changed from New to Active / In progress

#18 Updated by Alexander Kaluzhny about 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

#19 Updated by Mark Zaslavskiy about 4 years ago

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

#20 Updated by Timofey Turenko about 4 years ago

  • Status changed from Testing to Closed

Also available in: Atom PDF