Sunny | 27 Dec 03:32 2012
Picon

unable to disable automatic gzip responses

Hi all,


Version: 1.495 WAR, deployed on Tomcat7 Windows service.

I'm trying to disable the CompressionFilter that is compressing all of Jenkin's responses.

I've found references to a variable org.kohsuke.stapler.compression.CompressionFilter.disabled=true that should have done the job, but on inspecting the HTTP headers in my browser Content-Encoding=gzip always seems to be present. I can verify that the variable is present in both as a Environment Variable and a System Properties in Jenkins.

Gzip is not enabled in Tomcat.

Is there something else that I'm missing?

(I want to disable gzipping the responses to use nginx's HttpSubModule)

thanks,
Sunny
ashutosh.kumar17 | 27 Dec 06:38 2012

cxf-java2ws-plugin failing with IllegalArgumentException

process-classess for java2ws using this plugin cxf-java2ws-plugin [2.4.3-fuse-01-02,) is failing on jenkins server though locally it works fine . Error is

Caused by: java.lang.IllegalArgumentException: org.apache.cxf.Messages != org.apache.cxf.APIMessages
at java.util.logging.Logger.getLogger(Logger.java:337)
at org.apache.cxf.common.logging.LogUtils.createLogger(LogUtils.java:248)
at org.apache.cxf.common.logging.LogUtils.getL7dLogger(LogUtils.java:190)
at org.apache.cxf.BusFactory.<clinit>(BusFactory.java:71)
kapila narang | 27 Dec 08:58 2012
Picon

Re: Hide selective jobs based on users/roles

Would appreciate Nissidhi Aravind, if you can share how did you hide other jobs in user view?

On Thursday, December 23, 2010 6:32:36 AM UTC+5:30, nissidhi wrote:

Thanks for sharing this plugin. I have started using it meaningfully - deleted the All view and done some cleanup. I would really appreciate if there is a way to hide some views to select group of users. I will try to give feature requests in the website.

On Wed, Dec 22, 2010 at 5:52 AM, Jacob Robertson <jacob.robe... <at> gmail.com> wrote:
Please take a look at the View Job Filters plugin
(http://wiki.hudson-ci.org/display/HUDSON/View+Job+Filters).  It
allows you to filter jobs for views in quite a few ways.  If there are
feature requests you have, it's possible I can add those features to
the plugin depending on what they are, and what additional details you
provided.

On Tue, Dec 21, 2010 at 3:45 PM, nissidhi <nissi....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I have a variety of jobs on hudson - some jobs are being tested, some
> are only relevant for a particular group and some are secure(nobody
> other than admin needs to see it too). I searched the plugin directory
> and could not find a plugin for this need. Is there one?
>
> Please let me knoe



--
cheers,

Nissidhi Aravind
Ingo Richter | 27 Dec 09:28 2012
Picon

Re: Your Jenkins data directory "/home/jenkins" (AKA JENKINS_HOME) is almost full. You should act on it before it gets completely full.

Hi,


You can change the workspace and the build record directory to a drive with more available space.
I wrote a blogpost about it a couple of months ago http://ingorichter.blogspot.com/2012/02/jenkins-change-workspaces-and-build.html

I hope this helps,
 Ingo

On Tuesday, December 25, 2012 2:49:08 AM UTC-8, Artis Abolts wrote:
Hi,

I Have "Your Jenkins data directory "/home/jenkins" (AKA JENKINS_HOME) is almost full. You should act on it before it gets completely full." warning message.

What I must delete, or maybe I can increase storage? 

On server I have much free space.

Jan Seidel | 27 Dec 12:48 2012
Picon

Re: Getting artifacts/files of last successful build

Hiya,

I'm not sure what the problem is as this should work. I have just checked it.
I browsed via the web interface to the workspace and copied the link from an artifact and entered it in the browser. It works and has the structure as your URL.
Maybe a typo? browse to the workspace, copy the link and give it a try.
http://Jenkins_URL/view/Release%20Builds/job/project/lastSuccessfulBuild/artifact/build_folder/xxxxxxxxxxxx.zip

Take care
Jan

Am Mittwoch, 26. Dezember 2012 23:16:18 UTC+1 schrieb Niranjan Rao:

I am a new user of jenkins - having migrated from hudson two days back. In hudson, I could use the url like

http://server/hudson/job/build/lastSuccessfulBuild/artifact/project/target/project.jar

to download entries for last successful build. We have bunch of scripts that use wget to download the files from last successful build. With jenkins, build artifacts shows with the version number, even though final name in maven build is set to something else. I did check the workspace and the files I am looking for does exist, however web front end does not expose it.

What will be the best way to download files?

Picon

Copy Artifacts plugin on matrix-to-matrix configuration failing to find source

For reference, the Jenkins server is here:
http://ci.openbloomberg.com/jenkins


The source (upstream) job is BSL-Build, and for now I'm just building a single configuration from its
matrix. The build was successful, and the appropriate artifacts have been archived and are visible in the
web interface.

I've also got a BSL-Test job which is supposed to retrieve these artifacts and run tests, but no matter what I
put into the 'Project name' field of the 'Copy artifacts from another project' build step I can't get it to
find the source project. If I put in just 'BSL-Build' then it is accepted, but of course I don't want all
source configurations to be copied. If I put in 'BSL-Build/Platform=Ubuntu-12' (which matches the one
build that has been made), I get a red warning claiming that project does not exist.

I've verified that the 'authenticated' group has Read permission (even Extended Read) globally and on
Jobs just in case that is an issue. I must be doing something wrong, but I can't seem to figure out what it is.
Anyone have any clues?


Markus Schneider | 27 Dec 16:07 2012
Picon

Re: Warnings-Plugin: How to access the path of current workspace?

Hi Ulli,

i have changed the path to the file in the warning.

It looks now like this:  "src\test.c", line 199: warning #550-D: variable "test" was set but never used

However, the path is not expanded.

Any other suggestions, what I can try?

Thanks,
Markus


Am 15.12.2012 um 22:10 schrieb Markus Schneider <markus.schneider-cXTVF2KhhK0@public.gmane.org>:

Hi,

Actually this what I have done in the regex. 
As you can see below, the groovy output has removed the relative path section. 
However, there is no concatenation with the workspace path:
C:\programme\Jenkins\test-ci\workspace

Can I do some debugging? Which class is appending the complete path?

Markus

Am 15.12.2012 um 13:22 schrieb Ulli Hafner <ullrich.hafner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:

I see, that can't work. 

Where is the src folder located? 
C:\programme\Jenkins\test-ci\workspace\src?

My plug-in concatenates the workspace path and the found path in the warning, which results in your case to C:\programme\Jenkins\test-ci\workspace\..\..\..\src\test.c
A simple solution would be to strip off the relative path section in your groovy parser so that the concatenation works.

Ulli

Am 15.12.2012 um 11:37 schrieb Markus Schneider <markus.schneider-cXTVF2KhhK0@public.gmane.org>:

Hi Ulli,


thanks for your help. Here is some more information:

Jenkins: V1.493
Warnings-Plugin: V4.18
Static Analysis Utilities: V1.48
OS: Windows XP


Workspace Path: C:\programme\Jenkins\test-ci\workspace
Example Warning:   "..\..\..\src\test.c", line 199: warning #550-D: variable "test" was set but never used

Parsed result  in parser configuration page is:
file name: src\test.c
line number: 199
category: #550-D

Project configuration uses "Scan workspace files"  with pattern **/*.log 


From warnings.xml:

<fileName>src/test.c</fileName>
<pathName>src</pathName>


-> path is not expanded in xml


Thanks,
Markus 




William Soula | 27 Dec 16:26 2012

Re: Getting artifacts/files of last successful build

That way still works are you sure you are archiving it?  If you look at a job that has run recently it will have links to the last successful build which uses the below syntax, so I'm thinking your file just isn't where you are expecting it to be.

Will

On 12/26/2012 04:16 PM, Niranjan Rao wrote:
I am a new user of jenkins - having migrated from hudson two days back. In hudson, I could use the url like

http://server/hudson/job/build/lastSuccessfulBuild/artifact/project/target/project.jar

to download entries for last successful build. We have bunch of scripts that use wget to download the files from last successful build. With jenkins, build artifacts shows with the version number, even though final name in maven build is set to something else. I did check the workspace and the files I am looking for does exist, however web front end does not expose it.

What will be the best way to download files?


Mav rick | 27 Dec 19:31 2012
Picon

ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway

Hi folks -


I searched for the below error ,especially "ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway",I couldnt get anything substantial,second error related to "$GERRIT_REFSPEC" is probably a manifestation of the first error since it could the read the current check-in.. settings for "git" under souce code management are as follows,what am I missing here?


Started on Dec 27, 2012 10:15:52 AM Using strategy: Gerrit Trigger [poll] Last Build : #17 Fetching changes from the remote Git repositories Fetching upstream changes from ssh://company.com:29418/platform/vendor/proprietary/data.git ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway hudson.plugins.git.GitException: Command "/usr/bin/git fetch -t ssh://company.com:29418/platform/vendor/proprietary/data.git $GERRIT_REFSPEC" returned status code 128:
stdout: stderr: fatal: Couldn't find remote ref $GERRIT_REFSPEC at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:200) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:1105) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:813) at hudson.plugins.git.GitSCM.access$100(GitSCM.java:72) at hudson.plugins.git.GitSCM$1.invoke(GitSCM.java:744) at hudson.plugins.git.GitSCM$1.invoke(GitSCM.java:731) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:731) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:644) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1474) at hudson.model.AbstractProject.poll(AbstractProject.java:1404) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Polling for changes in Done. Took 0.56 sec No changes
Thanks
mwpowellhtx | 27 Dec 20:27 2012
Picon

How to publish Visual Studio VSTO automatically

Hello,

I've got an Visual Studio Tools for Office Excel AddIn that I am
scheduling for build. I build the Debug and Release versions, and that
seems to be going well. I'd like to add a step that publishes to a
staging folder, possibly share for folks to demo, evaluate release
candidates, etc. Possibly ClickOnce style, if possible: trick being
it's built against Office PIAs. I searched the group and to my
surprise didn't find anything "publish". Does anyone know is this
possible? Is it a target we build or something like this? Thanks in
advance, and I'm going to dig into this a bit further myself
meanwhile.

Regards,

Michael


Gmane