need Hudson job set-up for a git repository

VERIFIED FIXED

Status

mozilla.org Graveyard
Server Operations
VERIFIED FIXED
8 years ago
3 years ago

People

(Reporter: vish_moz, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

8 years ago
WebQA has its own Hudson box http://qa-selenium.mv.mozilla.com:8080 in the QA Lab.
We would like to set up WebQA Hudson box for our 'input stage tests' job, http://qa-selenium.mv.mozilla.com:8080/job/input%20stage/ .
The git repository of the tests are at https://github.com/mozilla/input-tests

Note: git is installed on the WebQA Hudson box.
(Reporter)

Comment 1

8 years ago
Git is installed on the Hudson box but there are no SSH keys set-up so
when we build the 'input stage' job we get this error:
Cloning the remote Git repository
Cloning repository origin
$ /usr/local/bin/git clone -o origin https://github.com/mozilla/input-tests "/Users/retornam/.hudson/jobs/input stage/workspace"
ERROR: Error cloning remote repo 'origin' : Could not clone https://github.com/mozilla/input-tests
ERROR: Cause: Error performing /usr/local/bin/git clone -o origin https://github.com/mozilla/input-tests /Users/retornam/.hudson/jobs/input stage/workspace
Trying next repository
ERROR: Could not clone from a repository
FATAL: Could not clone
hudson.plugins.git.GitException: Could not clone
	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:496)
	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:449)
	at hudson.FilePath.act(FilePath.java:753)
	at hudson.FilePath.act(FilePath.java:735)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:449)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1116)
	at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
	at hudson.model.Run.run(Run.java:1324)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:139)
(Reporter)

Comment 2

8 years ago
This was fixed by using the git protocol (git://) instead of https.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(In reply to comment #2)
> This was fixed by using the git protocol (git://) instead of https.

OMG, yeah: http://qa-selenium.mv.mozilla.com:8080/job/input%20stage/ws/

Verified FIXED.  Thanks to all for their hard work!
Status: RESOLVED → VERIFIED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.