![]() |
|
|
|
|
Change By:
|
Elifarley
(18/Mar/13 4:33 PM)
|
|
Environment:
|
Linux, Jenkis 1.
458
506
,
mercurial
Mercurial extension v.
1.
7
44, mercurial 2.2
|
|
Description:
|
JENKINS-4672 gives possibility to setup Marcurial debug flag. When I switch it on, the all mercurial call is done with option "--debug".
The first command, during the build, checks if configuration of repository wasn
Here
'
t changed. This check is done by comparision result of commad "hg showconfig paths.default" with jenkins configuration.
But there is a different output if
s
the
debug option is ON. Without debug option
log output
:
$ hg showconfig paths.default
https
13
:
25:37 Building remotely on myslave in workspace
/
var
/
hg
data
/
hg
jenkins-slave
/
zpis
workspace/MYJOB-2.8.4
With debug option
13
:
25:38 $
hg
clone
--
debug showconfig paths
rev 2
.
default read config from
8.4 --noupdate http
: /
etc
/
mercurial/hgrc read config from: /data/hudson/
mymercurialrepo
.
hgrc none: https:
com.br
/
/
hg/
hg
main
/
zpis
So with the debug option, the mercurial configuration is always different as jenkins configuration.
Result is : ----------- Building in workspace
myjob
/
var/
data/
hudson/jobs/vlk
jenkins
-
pokus
slave
/workspace
[workspace] $ hg
/MYJOB
-
-debug showconfig paths
2
.
default
8.4
read config from
13
:
/etc/mercurial/hgrc read config from
25
:
38 using http:
/
data
/
hudson/
mymercurialrepo
.
hgrc none: https:
com.br
/
/
hg/
hg
main
/
zpis
myjob
which looks different than https
13
:
//hg/hg/zpis
25:38 sending capabilities command
so falling back to fresh clone rather than incremental update
13:25:38 sending lookup command
13:25:38 query 1; heads
13:25:38 sending batch command
Workaround
13
:
Switch off the degug option.
25:38 sending getbundle command
13:25:38 adding changesets
13:25:38 changesets: 1 chunks 13:25:38 add changeset e1cfb9e9c39a 13:25:38 changesets: 2 chunks [...]
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.