anonymous dashboard & project view

2014-08-17 Thread Philipp Kraus
Hello,

my anonymous user has got read access to some projects, but I would like to 
modify the HTML page of the project and the main dashboard only for the 
anonymous user e.h.
I would like to remove the "last changes" and "build history" on the 
project page. On the main dashboard I would like the left column with the 
menu, so that the anonymous user
can only see the project list.

How can I do this?

Thanks

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


publishing artifact with public access

2014-08-17 Thread Philipp Kraus
Hello,

I'm using LaTeX with Jenkins to build PDF files. After the LaTeX build I 
get an URL to my artifact (I create the artifact on a successful 
build): 
https://myserver.de/jenkins/job/MyDoc/lastSuccessfulBuild/artifact/mypdf.pdf
I can open the PDF and everything works fine, but I need to log in to 
download / show the PDF. I would like to create the URL for all users 
without login in Jenkins. How can I create a open access to the artifact 
build URL, so that each user, that knows the URL, can download the PDF?

Thanks a lot

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: analysis plugins

2014-03-17 Thread Philipp Kraus
Thanks for the link, this is not nice, but I hope it works with a manual 
call

Am Montag, 17. März 2014 18:50:33 UTC+1 schrieb Ullrich Hafner:
>
> If you are using a maven job type then the site goal does not work:
> https://issues.jenkins-ci.org/browse/JENKINS-3654
>
> You need to call the plugins as individual goals like checkstyle:checkyle
>
> Ulli
>
> Am 17.03.2014 um 17:19 schrieb Philipp Kraus 
> 
> >:
>
> Hello,
>
> I have installed the following plugins:
>
> https://wiki.jenkins-ci.org/display/JENKINS/CCM+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/Checkstyle+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/DRY+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/FindBugs+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/PMD+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/Static+Code+Analysis+Plug-ins
> https://wiki.jenkins-ci.org/display/JENKINS/Task+Scanner+Plugin
> https://wiki.jenkins-ci.org/display/JENKINS/Warnings+Plugin
>
> I have defined in a post-build-action the compiler warning reading, In the 
> Jenkins UI I can read the warning, but
> the CCM, Check Analysis, FindBugs, PMD, duplicated source code etc does 
> not work although I run a Maven 3
> build, with the goal "site" . The goal is run and a checkstyle-result.xml 
> is created and has got a lot of warnings. 
> IMHO Jenkins does not read the resulting XML files in the target project 
> dir.
>
> How can I configure the analysis plugins?
>
> Thx
>
> Phil
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-use...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


analysis plugins

2014-03-17 Thread Philipp Kraus
Hello,

I have installed the following plugins:

https://wiki.jenkins-ci.org/display/JENKINS/CCM+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Checkstyle+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/DRY+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/FindBugs+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/PMD+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Static+Code+Analysis+Plug-ins
https://wiki.jenkins-ci.org/display/JENKINS/Task+Scanner+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Warnings+Plugin

I have defined in a post-build-action the compiler warning reading, In the 
Jenkins UI I can read the warning, but
the CCM, Check Analysis, FindBugs, PMD, duplicated source code etc does not 
work although I run a Maven 3
build, with the goal "site" . The goal is run and a checkstyle-result.xml 
is created and has got a lot of warnings. 
IMHO Jenkins does not read the resulting XML files in the target project 
dir.

How can I configure the analysis plugins?

Thx

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


groups for projects and nodes

2014-03-15 Thread Philipp Kraus
Hello,

I'm running a Jenkins master which should use different projects and 
different user groups. The authentification is used a LDAP but the LDAP 
groups should not be used for Jenkins.
I'm testing 
the https://wiki.jenkins-ci.org/display/JENKINS/Role+Strategy+Plugin plugin 
to create roles with different rights, but at the moment all users can see 
and change the projects.

I'm searching for a solution which can create groups with different users. 
Each user can create/modifiy/delete own projects. On the project side the 
project owner can add a group or other user which can read/modifiy/delete 
the project. Each user should only see the projects, on which he/she has 
got read / write access, other projects should be hidden. 
A nice feature should be, that a user can also add / delete some slaves, 
but he/she can only modifiy the slaves, which are owned by him/her. 

Which plugins do I need for this structure? How must I configure Jenkins / 
plugins correctly?

Thanks a lot

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


LDAP user and default rights

2014-01-02 Thread Philipp Kraus
Hello,

I use Jenkins with LDAP authentification. Each User can login, but on 
default the user hasn't no rights. How can I set default rights in Jekins?
Each user, which logins the first time, should manage its own jobs. The 
user should also add / delete nodes, but only nodes which are added
by the use can be also removed. How must be set the rights to create these 
setting?

Thanks

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


cloud / storing build data

2013-11-10 Thread Philipp Kraus
Hello,

I use Jenkins with some C++ builds (on different OS eg Linux, OSX Windows) 
and Marvan build for Java. My build slaves are connect via JNLP to the 
Jenkins master. Is there any Jenkins plugin, that allows that the builded 
data is transfered to a cloud service like DropBox. Our build scripts 
create some technical reports, so we would like to push them into a storage 
without external tools eg Curl. Does any plugin can handle a filetransfer?

Thanks

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: login not working timeout

2013-11-06 Thread Philipp Kraus
This problem seems to be exists only under webkit browser engines.
Firefox works, but Safari & Chrome create problems

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


login not working timeout

2013-11-05 Thread Philipp Kraus
Hello,

I have run a Jenkins 1.538 on a TomCat 7 on a Ubuntu 12.04 with Jenkins 
LDAP User authentification on a LDAPs call. TomCat is bind to localhost and 
the slaves are worked with JNLP. Nginx is a proxy server for TomCat.
If the system runs after a non-deterministic time Jenkins fails on login, I 
can insert my LDAP login credentials and I get the login screen again. In 
the logs ar enot errors (exception or anything else). I can restart the 
TomCat or Nginx
but this does not change anything, I need always a full system reboot to 
get a working Jenkins login with LDAP

How can I solve this problem

Thanks

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: LDAP without group access

2013-11-02 Thread Philipp Kraus


Am Samstag, 2. November 2013 08:57:53 UTC+1 schrieb Stephen Connolly:
>
> Unless you specify the group names in your authorization strategy, the 
> group info will not be used, so it should not matter at all that the group 
> information is being discovered because you would need to define permission 
> assignments that use these groups in order for it to be relevant
>
>
Seems to be work well, I can add the user and set with the matrix the rights

Phil 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


distribution build configuration

2013-11-02 Thread Philipp Kraus
Hello,

I run a Jenkins master on an Ubuntu server, in the firewall only SSH, HTTP, 
HTTPS ports are openend for incomming communication. I have 
read https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds for 
distribution builds, but on my master I use LDAP for user authentification. 
On the systems also runs GitLab and a SSHd with key-based authentification. 
My question is, in which way communicate the Jenkins slaves with the 
master? I would like to run slaves with Linux, OSX & Windows, but I would 
like to use SSH (SFTP) only for a key-based authentification. The keys 
should be inserted by the GitLab UI interface and this keys should be also 
used by Jenkins.

Any idea / help to create a solution for this problem?

Thanks

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


LDAP without group access

2013-11-01 Thread Philipp Kraus
Hello,

I try to add LDAP auth on Jenkins. Jenkins runs with Tomcat 7. How can I 
use only user authentification and no group authentification. I would like 
to disable group filtering

Thanks

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Jenkins proxy with Nginx

2013-10-29 Thread Philipp Kraus


Am Montag, 28. Oktober 2013 19:08:34 UTC+1 schrieb Richard Bywater:
>
> Have you seen 
> https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy?
>
> Not sure if it helps but could be a starting point to see what someone 
> else has done.
>
>>
>>
I have create a "half working solution". The Nginx configuration is:

server {
list 443;
ssl_session_timeout  5m; // this option must be set, without a "bad 
gateway" error is occured

location /jenkins {
try_files $uri $uri/index.html $uri.html @jenkins;
}

location @jenkins {
proxy_read_timeout  300;.
proxy_connect_timeout   300;.
proxy_redirect  off;
proxy_set_headerHost $http_host;
proxy_set_headerX-Real-IP $remote_addr;
proxy_set_headerX-Forwarded-Proto https;
proxy_set_headerX-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect  http:// https://; // this option must be 
also set, because it is equal to Apaches ProxyReverse option
add_header  Pragma "no-cache";

proxy_pass  http://localhost:8080;
}
}

t the moment I have got a problem with the Jenkins forms, I can open the 
Jenkins pages, but on send form data the URL is incorrect, the HTML action 
value is set eg to "config", but it must be a https:// prefix.
I have bind Jenkins with the httpPort parameter to the port 8080, but I 
would like to switch it to https (disable http). How can I tell Jenkins 
that it creates the correct links in its HTML code?
I have set the Jenkins URL field in the settings to https://myserver/jenkins
And I would like to communicate between Nginx & Jenkins via https (or pass 
Jenkins SSL to Nginx), which options must be set in Jenkins?

Thanks

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Jenkins proxy with Nginx

2013-10-28 Thread Philipp Kraus
 

Hello,

I would like to configure ngix with jenkins, nginx should be a proxy for 
the jenkins instance. I have configuration the proxy pass options in this 
way:

   location /jenkins  {

   proxy_pass http://localhost:8080/;

   proxy_redirect off;

   proxy_set_header   Host $host;

   proxy_set_header   X-Real-IP $remote_addr;

   proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;

   }


My jenkins instance uses the port 8080 and I would like to pass the data 
from the URL http://mydomain/jenkins to the jerkins instance.

If I change the location to / everything works fine, but with the 
subdirectory alias I get an error with the URL. Jenkins result pages uses 
only

URLs to http://mydomain/ but in my case it should be 
http://mydomain/jenkins/

I have modified the Jenkins URL (in the admin panel) to 
http://mydomain/jenkins/ but it seems to be an error on the reverse data 
call.

How can I do this in a correct way?


Thanks


Phil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.