git scm module in jenkins should work better with gerrit
Bug #925236 reported by
James E. Blair
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Fix Released
|
Medium
|
Monty Taylor |
Bug Description
The git scm module should be made to work better with testing random gerrit branches that may not get merged or may conflict, etc. It should do the equivalent of this job:
https:/
Which at the time of writing is:
#!/bin/bash -x
if [[ ! -e .git ]]; then
git clone https:/
fi
git remote update
git reset --hard
git clean -x -f -d -q
git checkout $GERRIT_BRANCH
git reset --hard remotes/
git clean -x -f -d -q
git fetch https:/
git merge FETCH_HEAD
Changed in openstack-ci: | |
milestone: | none → folsom |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in openstack-ci: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/jenkinsci/ git-plugin/ pull/79 has been merged and released upstream. Still need to verify that the git scm module can be used directly.