<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Felix,<br>
<br>
I'm trying to get lager from basho's repository.<br>
My Makefile:<br>
<br>
PROJECT = nebula2<br>
<br>
DEPS = lager meck crc16 jsx uuid riakc cowboy pooler mcd<br>
dep_lager = git <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:basho/lager.git">git@github.com:basho/lager.git</a> 2.1.1<br>
dep_meck = git <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:eproxus/meck.git">git@github.com:eproxus/meck.git</a> 0.8.2<br>
dep_crc16 = git <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:building39/crc16_nif.git">git@github.com:building39/crc16_nif.git</a> 1.1<br>
dep_jsx = git <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:talentdeficit/jsx.git">git@github.com:talentdeficit/jsx.git</a> master<br>
dep_uuid = git git://github.com/avtobiff/erlang-uuid.git v0.4.7<br>
dep_riakc = git <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:basho/riak-erlang-client.git">git@github.com:basho/riak-erlang-client.git</a> master<br>
dep_cowboy = git <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:ninenines/cowboy.git">git@github.com:ninenines/cowboy.git</a> 1.0.3<br>
dep_pooler = git <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:seth/pooler.git">git@github.com:seth/pooler.git</a> master<br>
dep_mcd = git <a class="moz-txt-link-abbreviated" href="mailto:git@github.com:building39/mcd.git">git@github.com:building39/mcd.git</a> master<br>
include erlang.mk<br>
<br>
# Turn on lager<br>
ERLC_COMPILE_OPTS= +'{parse_transform, lager_transform}'<br>
<br>
ERLC_OPTS += $(ERLC_COMPILE_OPTS)<br>
TEST_ERLC_OPTS += $(ERLC_COMPILE_OPTS)<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/18/2015 02:38 PM, Felix Gallo
wrote:<br>
</div>
<blockquote
cite="mid:CAJfDOsRRyrDs9_qR1PBRdJmcCr7uar79j4p5X3S2vLCOh8KsFg@mail.gmail.com"
type="cite">
<div dir="ltr">Do you have the lager dependency set to point to
the canonical lager distribution, or perhaps a fork that your
jenkins instance's github credentials don't have access to?
<div><br>
</div>
<div>F.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Dec 18, 2015 at 12:35 PM,
Michael Martin <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:mmartin4242@gmail.com" target="_blank">mmartin4242@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I'm trying to set up a Jenkins CI server on which to build
my project. I'm brand new to Jenkins (as an administrator -<br>
I've been around Jenkins and Hudson before it for some
years), and am having some difficulty with github. Hopefully<br>
someone here has been through this before and has an answer.<br>
<br>
I'm building the project with emake. When I kick off a build
(script that runs "make clean && make"), my
repository<br>
is cloned just fine, but the dependencies don't - github
kicks me off every time. Here's the job log:<br>
<br>
Building in workspace /var/lib/jenkins/jobs/Nebula/workspace<br>
> git rev-parse --is-inside-work-tree # timeout=10<br>
Fetching changes from the remote Git repository<br>
> git config remote.origin.urlhttp://<a
moz-do-not-send="true"
href="http://github.com/building39/nebula2.git"
rel="noreferrer" target="_blank">github.com/building39/nebula2.git</a>
# timeout=10<br>
Fetching upstream changes fromhttp://<a
moz-do-not-send="true"
href="http://github.com/building39/nebula2.git"
rel="noreferrer" target="_blank">github.com/building39/nebula2.git</a><br>
> git --version # timeout=10<br>
using GIT_SSH to set credentials<br>
using .gitcredentials to set credentials<br>
> git config --local credential.username building39 #
timeout=10<br>
> git config --local credential.helper store
--file=/tmp/git8309391135389932287.credentials # timeout=10<br>
> git -c core.askpass=true fetch --tags
--progresshttp://<a moz-do-not-send="true"
href="http://github.com/building39/nebula2.git"
rel="noreferrer" target="_blank">github.com/building39/nebula2.git</a>
+refs/heads/*:refs/remotes/origin/*<br>
> git config --local --remove-section credential #
timeout=10<br>
> git rev-parse refs/remotes/origin/develop^{commit} #
timeout=10<br>
> git rev-parse
refs/remotes/origin/origin/develop^{commit} # timeout=10<br>
Checking out Revision
f03e718ab443c4065cd7e93c74e5b04ae274329e
(refs/remotes/origin/develop)<br>
> git config core.sparsecheckout # timeout=10<br>
> git checkout -f
f03e718ab443c4065cd7e93c74e5b04ae274329e<br>
> git rev-list f03e718ab443c4065cd7e93c74e5b04ae274329e
# timeout=10<br>
[workspace] $ /bin/sh -xe /tmp/hudson3671066196778207128.sh<br>
+ make clean<br>
GEN clean-app<br>
+ make<br>
Cloning into
'/var/lib/jenkins/jobs/Nebula/workspace/deps/lager'...<br>
Permission denied (publickey).<br>
fatal: Could not read from remote repository.<br>
<br>
Please make sure you have the correct access rights<br>
and the repository exists.<br>
/bin/sh: 1: cd: can't cd to
/var/lib/jenkins/jobs/Nebula/workspace/deps/lager<br>
make: ***
[/var/lib/jenkins/jobs/Nebula/workspace/deps/lager] Error 2<br>
Build step 'Execute shell' marked build as failure<br>
Finished: FAILURE<br>
<br>
Any ideas how to fix the Jenkins job configuration so that
it can successfully clone the dependencies?<br>
<br>
Thanks,<br>
Michael<br>
<br>
<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a moz-do-not-send="true"
href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>