Re: Cannot display dependency graph

2012-10-15 Thread Hez
Hi

The problem is solved by installing the Graphviz from graphviz-rhel.repo 
(follow the instructions here
).

I installed Graphviz wihthout downloading the graphviz-rhel.repo and it 
probably installed a different version of Graphviz from somewhere else.


On Saturday, October 6, 2012 6:16:42 AM UTC+8, Hez wrote:
>
> Hi
>
> I have installed Jenkins 1.484 and Dependency Graph Viewer Plugin 0.4 on 
> CentOS 5.8.
> I have also successfully installed Graphviz using the command like 'yum 
> install graphviz-gd'.
>
> Unfortunately the graph is not showing when clicked on the 'Dependency 
> Graph'.
>
> There is no error in /var/log/jenkins/jenkins.log.
>
>
> [image: Inline image 1]
>
>
> Do you know what could be the problem?
>
>
> -- 
>
> Hez
>  


Re: Cannot display dependency graph

2012-10-08 Thread Hez
Hi

Hmmm .. there is no luck, Jenkins is still not display the dependency 
graph after I added an environment variable PATH=/usr/bin:$PATH in Jenkins 
system configuration UI.
To verify that Jenkins can access the dot command, I tested with a job 
which execute a shell command 'dot -V' successfully.


On Monday, October 8, 2012 2:29:57 PM UTC+8, Baptiste Mathus wrote:
>
> No. Domi is speaking about the jenkins UI, in the admin page where you can 
> configure everything graphically.
>
> Even if dot seems to be correctly present in the PATH, try to explicitly 
> configure dot binary path inside jenkins. This way you'll see if it only 
> seems to be related to finding the binary or something else.
>
> Cheers
> Le 8 oct. 2012 03:36, "Hez" > a écrit :
>
>> Hi Domi
>>
>> What do I need to configure in the Jenkin's global configuration?
>> Do you mean the /etc/sysconfig/jenkins?
>>
>>
>> On Saturday, October 6, 2012 1:46:20 PM UTC+8, domi wrote:
>>>
>>> Does the user Jenkins runs with see 'dot' on the PATH? ('dot' is the CLI 
>>> tool installed by graphviz) 
>>> If not, configure it in the global config of your jenkins installation. 
>>> /Domi 
>>>
>>>
>>> On 06.10.2012, at 00:16, hezjing  wrote: 
>>>
>>> > Hi 
>>> > 
>>> > I have installed Jenkins 1.484 and Dependency Graph Viewer Plugin 0.4 
>>> on CentOS 5.8. 
>>> > I have also successfully installed Graphviz using the command like 
>>> 'yum install graphviz-gd'. 
>>> > 
>>> > Unfortunately the graph is not showing when clicked on the 'Dependency 
>>> Graph'. 
>>> > 
>>> > There is no error in /var/log/jenkins/jenkins.log. 
>>> > 
>>> > 
>>> >  
>>> > 
>>> > 
>>> > Do you know what could be the problem? 
>>> > 
>>> > 
>>> > -- 
>>> > 
>>> > Hez 
>>>
>>>

Re: Cannot display dependency graph

2012-10-07 Thread Baptiste Mathus
No. Domi is speaking about the jenkins UI, in the admin page where you can
configure everything graphically.

Even if dot seems to be correctly present in the PATH, try to explicitly
configure dot binary path inside jenkins. This way you'll see if it only
seems to be related to finding the binary or something else.

Cheers
Le 8 oct. 2012 03:36, "Hez"  a écrit :

> Hi Domi
>
> What do I need to configure in the Jenkin's global configuration?
> Do you mean the /etc/sysconfig/jenkins?
>
>
> On Saturday, October 6, 2012 1:46:20 PM UTC+8, domi wrote:
>>
>> Does the user Jenkins runs with see 'dot' on the PATH? ('dot' is the CLI
>> tool installed by graphviz)
>> If not, configure it in the global config of your jenkins installation.
>> /Domi
>>
>>
>> On 06.10.2012, at 00:16, hezjing  wrote:
>>
>> > Hi
>> >
>> > I have installed Jenkins 1.484 and Dependency Graph Viewer Plugin 0.4
>> on CentOS 5.8.
>> > I have also successfully installed Graphviz using the command like 'yum
>> install graphviz-gd'.
>> >
>> > Unfortunately the graph is not showing when clicked on the 'Dependency
>> Graph'.
>> >
>> > There is no error in /var/log/jenkins/jenkins.log.
>> >
>> >
>> > 
>> >
>> >
>> > Do you know what could be the problem?
>> >
>> >
>> > --
>> >
>> > Hez
>>
>>


Re: Cannot display dependency graph

2012-10-07 Thread Hez
Hi Domi

What do I need to configure in the Jenkin's global configuration?
Do you mean the /etc/sysconfig/jenkins?


On Saturday, October 6, 2012 1:46:20 PM UTC+8, domi wrote:
>
> Does the user Jenkins runs with see 'dot' on the PATH? ('dot' is the CLI 
> tool installed by graphviz) 
> If not, configure it in the global config of your jenkins installation. 
> /Domi 
>
>
> On 06.10.2012, at 00:16, hezjing > wrote: 
>
> > Hi 
> > 
> > I have installed Jenkins 1.484 and Dependency Graph Viewer Plugin 0.4 on 
> CentOS 5.8. 
> > I have also successfully installed Graphviz using the command like 'yum 
> install graphviz-gd'. 
> > 
> > Unfortunately the graph is not showing when clicked on the 'Dependency 
> Graph'. 
> > 
> > There is no error in /var/log/jenkins/jenkins.log. 
> > 
> > 
> >  
> > 
> > 
> > Do you know what could be the problem? 
> > 
> > 
> > -- 
> > 
> > Hez 
>
>

Re: Cannot display dependency graph

2012-10-06 Thread Hez
Hi Domi

Yes, the user jenkins is able to run 'dot'.

Here is the console output:

$ whoami
jenkins
$ dot -V
dot - Graphviz version 2.12 (Wed Nov 23 19:29:35 UTC 2011)



On Saturday, October 6, 2012 1:46:20 PM UTC+8, domi wrote:
>
> Does the user Jenkins runs with see 'dot' on the PATH? ('dot' is the CLI 
> tool installed by graphviz) 
> If not, configure it in the global config of your jenkins installation. 
> /Domi 
>
>
> On 06.10.2012, at 00:16, hezjing > wrote: 
>
> > Hi 
> > 
> > I have installed Jenkins 1.484 and Dependency Graph Viewer Plugin 0.4 on 
> CentOS 5.8. 
> > I have also successfully installed Graphviz using the command like 'yum 
> install graphviz-gd'. 
> > 
> > Unfortunately the graph is not showing when clicked on the 'Dependency 
> Graph'. 
> > 
> > There is no error in /var/log/jenkins/jenkins.log. 
> > 
> > 
> >  
> > 
> > 
> > Do you know what could be the problem? 
> > 
> > 
> > -- 
> > 
> > Hez 
>
>

Re: Cannot display dependency graph

2012-10-05 Thread domi
Does the user Jenkins runs with see 'dot' on the PATH? ('dot' is the CLI tool 
installed by graphviz)
If not, configure it in the global config of your jenkins installation.
/Domi


On 06.10.2012, at 00:16, hezjing  wrote:

> Hi
> 
> I have installed Jenkins 1.484 and Dependency Graph Viewer Plugin 0.4 on 
> CentOS 5.8.
> I have also successfully installed Graphviz using the command like 'yum 
> install graphviz-gd'.
> 
> Unfortunately the graph is not showing when clicked on the 'Dependency Graph'.
> 
> There is no error in /var/log/jenkins/jenkins.log.
> 
> 
> 
> 
> 
> Do you know what could be the problem?
> 
> 
> -- 
> 
> Hez