OpenStack Core Infrastructure

git scm module in jenkins should work better with gerrit

Reported by James E. Blair on 2012-02-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
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://jenkins.openstack.org/job/template-gerrit-git-prep/configure

Which at the time of writing is:

#!/bin/bash -x
if [[ ! -e .git ]]; then
    git clone https://review.openstack.org/p/$GERRIT_PROJECT .
fi
git remote update
git reset --hard
git clean -x -f -d -q
git checkout $GERRIT_BRANCH
git reset --hard remotes/origin/$GERRIT_BRANCH
git clean -x -f -d -q
git fetch https://review.openstack.org/p/$GERRIT_PROJECT $GERRIT_REFSPEC
git merge FETCH_HEAD

Monty Taylor (mordred) on 2012-05-05
Changed in openstack-ci:
milestone: none → folsom
status: New → Triaged
importance: Undecided → Medium
Monty Taylor (mordred) wrote :

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.

Changed in openstack-ci:
assignee: nobody → Monty Taylor (mordred)
status: Triaged → Fix Committed
Monty Taylor (mordred) on 2012-10-10
Changed in openstack-ci:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers