Re: Jenkins takes too long for loading recent changes of current job (15min approx)

2016-08-24 Thread Ravalika
Thank you,
Old Jenkin version is 1.6.3 migrated to jenkins stable version 2.7.1


On Monday, August 22, 2016 at 4:54:44 PM UTC+5:30, Daniel Beck wrote:
>
> When asking about a possible regression, it helps to mention both the 
> version you're using now, as well as the version you were using before. 
>
> Try applying the workaround mentioned for SECURITY-243 here: 
>
>
> https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11
>  
>
>
> > On 22.08.2016, at 08:42, Renuka Pampana > 
> wrote: 
> > 
> > Hi, 
> > 
> > We have migrated recently to Jenkins new stable version. After 
> migration, Jenkins takes too long for displaying the changes of the current 
> job (approx. 15min). 
> > 
> > Can you please provide me some suggestions to improve the speed? 
> > 
> > 
> > Thanks, 
> > Renuka 
> > 
> > -- 
> > 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 . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/283e63c8-5cd2-459c-8161-0dc95138%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/28af16a9-1a45-4d5e-b194-3351eabbd6b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Local Jenkins server redirect to AWS Jenkins server

2016-08-24 Thread niristotle okram
How is your local jenkins installed? Do you have any proxy server like
apache/nginx? If yes you might want to look into the conf file.

* I point my browser to the local IP:8080 and I get the AWS Jenkins home
page.*
*> *check if the hosts file doesn't have a name resolution set to the old
AWS fqdn. if not set, tried cleaning the browser cache/history etc? Id this
local IP is a private ip, within your corp network, there is no way to pull
up the page from the aws instance. Unless you have some sort of vpn
tunneling going on from your corp network to an aws vpc


Also try changing the port from 8080 to something else like 8082 on your
local instance of jenkins and check out.


Good Luck!







On Wed, Aug 24, 2016 at 6:43 PM, Michael Ryan  wrote:

> I deleted that local Jenkins instance and built another on a separate VM.
> I was careful not to reference the AWS instance anywhere in the config
> including the 'Jenkins URL' field.  Searching in the /var/lib/jenkins dir
> reveals no instances of the name of the AWS jenkins server.  Yet it now
> redirects me to the AWS server again ?!?
>
> What's going on here?
>
> All help is much appreciated!
> -Michael
>
> On Tuesday, August 23, 2016 at 9:56:25 AM UTC-7, Hiteswar kumar wrote:
>>
>> Check if If there any proxy  or iptable configured for redirecting or
>>  "manage Jenkins -> configure system -> Jenkins URL" has aws URL .
>>
>> Regards
>> hiteswar
>>
>> On Aug 23, 2559 BE, at 10:08 PM, Michael Ryan  wrote:
>>
>> We have a Jenkins instance running on an AWS server that we want to move
>> in house.  The process was to create and configure a local Jenkins
>> instance, verify jobs are executing correctly, then switch to the local
>> Jenkins.  I setup the local instance and configured it. Then it began
>> redirecting the main page to the AWS server.  I point my browser to the
>> local IP:8080 and I get the AWS Jenkins home page.  I don't know how the
>> local Jenkins instance even knows about the AWS instance.  How do I correct
>> this?
>>
>> All help greatly appreciated.
>> - Michael
>>
>> --
>> 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.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-users/4b29fa6f-fb6e-445f-a228-df6e2ab72fb8%
>> 40googlegroups.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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/7d14898c-05e3-495a-8682-592737d708da%40googlegroups.
> com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards
nirish okram

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPzcO4ir_aVd-pvh2%3DimRDs8HwOdwzEmS_LdDBony4JS6sGr6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: FilePath in Jenkinsfile

2016-08-24 Thread Salvian Reynaldi
P.S. I tried 
def currentChannel = env.build.workspace channel, and gets
"No such property: build for class: groovy.lang.Binding" error

any help towards the goal (list child directories) would be appreciated


On Thursday, August 25, 2016 at 11:31:24 AM UTC+7, Salvian Reynaldi wrote:
>
> I had a bash script that push some directories to AWS S3
>
>   for dir in */ ; do
> "push.sh" "${dir::-1}"
>   done
>
> assuming the current directory is X, the script will push ./a/ and ./b/ 
> into s3://.../a/X and s3://.../b/X
>
> Now i'm trying to switch to Jenkinsfile. To traverse child directories 
> (like what the for loop basically did), the only method I found is using 
> FilePath.listDirectories 
> .
> But how do I create a FilePath object? available constructors need another 
> Filepath / channel. How can I achieve this?
>
> Thanks
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/02a8c6ba-7a2b-4161-80da-23e079ac72b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


FilePath in Jenkinsfile

2016-08-24 Thread Salvian Reynaldi
I had a bash script that push some directories to AWS S3

  for dir in */ ; do
"push.sh" "${dir::-1}"
  done

assuming the current directory is X, the script will push ./a/ and ./b/ 
into s3://.../a/X and s3://.../b/X

Now i'm trying to switch to Jenkinsfile. To traverse child directories 
(like what the for loop basically did), the only method I found is using 
FilePath.listDirectories 
.
But how do I create a FilePath object? available constructors need another 
Filepath / channel. How can I achieve this?

Thanks

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1707010c-3fd6-494e-bad3-0175b99f55f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: regarding jenkins CD in jenkins 2.0

2016-08-24 Thread Zue Sani
Hi,

I had setup windows slave using java web start setup. and I tried
downloaded the jnlp file and tried to run on the jenkins master. It says
cannot connect to application. (connection refused).

Could you please help me with this.

On Thu, Aug 11, 2016 at 9:34 AM, Jesse McCormick 
wrote:

> I wasn't really advocating running SQL scripts manually or via script
> runner, but if you have the requirement, it can be done.
>
> Since we are a java project, we use Flyway.
>
> On Thursday, August 11, 2016 at 9:40:39 AM UTC-4, Zue Sani wrote:
>>
>> one more quick fire: I had a script for CD. for example if I had 5
>> successful builds... If I want to deploy build 4 , is the possible???
>>
>> And could any let me know what is the best build and deployment scripts
>> for sql DB??
>>
>> On Wed, Aug 10, 2016 at 10:24 AM, suresh kumar 
>> wrote:
>>
>>> Hi Jesse McCormick,
>>> Every time when deploying done manually updating the Jobs with sql
>>> scripts is not suggestible as this doesn't give full automation. As much as
>>> possible we have to eliminate manual tasks while achieving continuous
>>> deployment.
>>>
>>> -Suresh
>>>
>>>
>>> On Wednesday, August 3, 2016 at 8:55:33 PM UTC+5:30, Jesse McCormick
>>> wrote:

 If you can script the SQL commands into a bash/batch script, then you
 should still be able to execute them. If you are using Oracle, there is
 also this plugin: https://wiki.jenkins-ci.org/di
 splay/JENKINS/SQLPlus+Script+Runner+Plugin


 On Wednesday, August 3, 2016 at 10:28:26 AM UTC-4, Zue Sani wrote:
>
> Can we run sql scripts to deploy, which we have been using for manual
> running of scripts
>
> On Sat, Jul 30, 2016 at 10:10 PM, suresh kumar 
> wrote:
>
>> Hi Zue Sani,
>> There are lot of Open Source and Commercial tools which provides
>> options for migrating database sql scripts.
>> Each having their own process to prepare scripts.
>> Some of OpenSource tools and also having Jenkins plugins to migrate
>> scripts.
>> 1) Liquibase
>> 2) Flyway
>>
>> Have a look at these official documentation and usage of Jenkins of
>> their respective plugins.
>>
>> -Suresh
>>
>> On Saturday, July 30, 2016 at 7:44:46 PM UTC+5:30, Zue Sani wrote:
>>>
>>> hi,
>>>
>>> I had few questions on CD:
>>>
>>>
>>> 1.) we are performing deployments manually using sql scripts. Can
>>> the same scripts run on jenkins when we automate the deployment?.  (I 
>>> heard
>>> we need to change them to dacpac scripts is that true?)
>>>
>>>
>>> --
>> You received this message because you are subscribed to a topic in
>> the Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/jenkinsci-users/JxJ-uIO-AD8/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> jenkinsci-use...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/36caa94b-
>> 539f-4880-a093-5519b0d9b601%40googlegroups.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Jenkins Users" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>> pic/jenkinsci-users/JxJ-uIO-AD8/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jenkinsci-users/25cc034e-da2a-4ad8-9e58-825750859d1a%
>>> 40googlegroups.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/JxJ-uIO-AD8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/9141b630-ca15-4531-99de-15239b445500%40googlegroups.
> 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 unsu

Re: Building multiple maven projects without a parent pom?

2016-08-24 Thread Jesse McCormick

1) If this isn't available in pure git, you can just multi SCM plugin to 
retrieve from multiple git locations. Maybe helpful: 
http://stackoverflow.com/questions/9767919/in-jenkins-how-to-checkout-a-project-into-a-specific-directory-using-git
 

2. Just add multiple build steps in the order desired
3. Should be easy to script as a post build action.

Are you using an m2 project or freestyle project? Have you tried the above 
an it failed?

On Monday, August 22, 2016 at 10:22:30 AM UTC-4, Kristian Rink wrote:
>
> Folks;
>
> for my use case, I'd like to configure a setup / jenkins project that 
> should work more or less like this:
>
> * clone a defined set of maven modules from a local git server in a 
> defined order into a set of named folders in the current jenkins projects 
> workspace
> * iterate over these folders and do a "mvn clean install" on each one of 
> them (and make the build fail if any of these maven builds fail),
> * run a shell script that takes the outcome of the last of these projects 
> and launches it locally using either another shell script or a java -jar 
> command (standalone dropwizard based service).
>
> So far, I tried various approaches to resolve this and, all the time, 
> failed. Browsing the web, I read that the most common way of doing this is 
> to have a parent pom somewhere in version control which gets checked out 
> and built - however this is something I'd ideally like to avoid.
> Do you think such an approach is in some way possible? How, if so?
>
> TIA and all the best,
> Kristian
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/93c1a923-5789-4583-bfbe-b14dd28597c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Local Jenkins server redirect to AWS Jenkins server

2016-08-24 Thread Michael Ryan
I deleted that local Jenkins instance and built another on a separate VM. 
 I was careful not to reference the AWS instance anywhere in the config 
including the 'Jenkins URL' field.  Searching in the /var/lib/jenkins dir 
reveals no instances of the name of the AWS jenkins server.  Yet it now 
redirects me to the AWS server again ?!?

What's going on here?

All help is much appreciated!
-Michael

On Tuesday, August 23, 2016 at 9:56:25 AM UTC-7, Hiteswar kumar wrote:
>
> Check if If there any proxy  or iptable configured for redirecting or 
>  "manage Jenkins -> configure system -> Jenkins URL" has aws URL .
>
> Regards
> hiteswar
>
> On Aug 23, 2559 BE, at 10:08 PM, Michael Ryan  > wrote:
>
> We have a Jenkins instance running on an AWS server that we want to move 
> in house.  The process was to create and configure a local Jenkins 
> instance, verify jobs are executing correctly, then switch to the local 
> Jenkins.  I setup the local instance and configured it. Then it began 
> redirecting the main page to the AWS server.  I point my browser to the 
> local IP:8080 and I get the AWS Jenkins home page.  I don't know how the 
> local Jenkins instance even knows about the AWS instance.  How do I correct 
> this?
>
> All help greatly appreciated.
> - Michael
>
> -- 
> 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 .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/4b29fa6f-fb6e-445f-a228-df6e2ab72fb8%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7d14898c-05e3-495a-8682-592737d708da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Windows slave on Linux server

2016-08-24 Thread Timmy Vercruysse
Dear,

i'm using a Jenkins server(from Bitnami). When i try to configure a slave 
it works fine for Linux(true SSH).
But when i try to add a Windows slave it doesn't work(Launch agent via Java 
Web Start).
i always the the error The server rejected : none of the protocols were 
accepted(see attached screenshot).

When i connect the windows client to another windows Jenkins server it 
works fine, connect to another Linux Jenkins server doesn't work.

I've already checked : 
- disabled firewall on the windows & linux server.
- changed security to static port.
- Installed Java 64-bit & 32-bit on the pc.



does anybody have any idea's.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4b50ec2f-65ea-4193-9159-67e0a1fae663%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Question regarding Jenkins pipeline setup

2016-08-24 Thread Leon Poon
More importantly, what is the best way of cleaning up the @script folders?

On Thursday, August 4, 2016 at 2:37:09 PM UTC-4, jer...@bodycad.com wrote:
>
> Just realized the same thing, after developing my JenkinsFile inline with 
> sandbox removed, then approved the whole operation into white listing. That 
> @script folder was unexpected for the least I could say
>
> On Monday, August 1, 2016 at 7:30:04 PM UTC-4, Peter Wiseman wrote:
>>
>> Likewise, I'm concerned about a full checkout into workspace@script. 
>>  Seems to be overkill if it's just to find the Jenkinsfile.  With multiple 
>> active branches (each 3GB), that's seemingly quite a lot of unnecessary 
>> permanent storage.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0e7f6723-1548-462e-bd4f-cd3ecca08267%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Plans for next gitiles release?

2016-08-24 Thread 'Björn Pedersen' via Jenkins Users
Hi,

as there are now considerable changes for gitiles either merged or almost 
ready , are there plans for a new gitiles release?
Once it is released I could prepare a change for plugins/gitiles with 
updated dependencies as well (mostly jgit and commonmark [1]) . 


https://gerrit-review.googlesource.com/#/c/84215/ should probably go in  
before releasing.


Björn

[1] https://gerrit-review.googlesource.com/#/c/80490/

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/cbb3f7e6-d765-4778-be5f-e6bf7eca4ee8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Windows slave

2016-08-24 Thread Timmy Vercruysse
Dear,

i'm trying to add a windows slave to a Linux server but i always get the 
following error : 
the server rejected the connection: none of the protocols were accepted.

On the linux server i already added a linux build server(through ssh) 
without a problem.
When i try to add a Windows server through jnlp it doesn't work, when i try 
to add the windows machine to another windows Jenkins server it works fine.

I've already searched google like crazy and found the following thinks.
- disable firewall on the server
- disable firewall on the client.
- set security through on a static port.

But the problems remains the same.
I can't find an logs, there is no other error, and on the disk the logging 
folder of this node remains empty.

Does anybody has any idea what to do? Look for? 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/66d02887-5a39-4445-835a-ab670d7d1357%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Issues polling Bitbucket Git repo

2016-08-24 Thread Mithun Patel
I have Jenkins set up at work and have successfully used it with out 
Mercurial repos in Bitbucket. We now have a Git repo and I am trying to get 
the builds set up but my polling never seems to succeed. The rest of the 
build works fine just the polling does not. I see the following in the Git 
Polling log. Not sure if this is right:

Started on Aug 23, 2016 3:00:59 PM

Using strategy: Default
[poll] Last Built Revision: Revision 118x
(refs/remotes/origin/master)
 > C:\Program Files\Git\bin\git.exe --version # timeout=10
 > C:\Program Files\Git\bin\git.exe -c core.askpass=true ls-remote -h 
 > https://bitbucket.org/xxx/yyy.git 
# timeout=10


Any help would be appreciated.

 

Thank you,

Mithun

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/55987999-1b5a-4fc0-8045-d6b982d945e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unreadable data for build wrappers

2016-08-24 Thread Gavin Williams
Just to update, after some more googling and debugging, I came across: 
JENKINS-37422  

The suggestion there is to roll the 'ruby-runtime' plugin back to v0.12.

I gave that a go, and like magic all my broken builds have started working 
again following a restart... :D
I didn't even need to go in and re-set the RVM build envs... 

HTH

Gav

On Tuesday, 23 August 2016 15:41:51 UTC+1, Gavin Williams wrote:
>
> Not that it helps you Morten, but I've just been hit by the same issue 
> with RVM and Build-Name-Setter. 
>
> Following a restart, the UI and Jenkins dis-regards any config settings, 
> even though the build config.xml looks correct... 
>
> I really don't want to have to fettle 20+ jobs every time I have to 
> restart Jenkins... 
>
> Anyone have any ideas?
>
> Env is Jenkins 2.7.2 with latest plugins across the board. 
>
> Cheers
> Gavin 
>
> On Tuesday, 23 August 2016 14:50:18 UTC+1, Morten Gregersen wrote:
>>
>> We've been using the RVM and ANSI color plugins for several months now. 
>> Suddenly they stopped working after a restart of Jenkins.
>>
>> We generate new jobs from a config.xml template:
>> 
>> 
>>   
>>   
>>   DISPLAY_NAME
>>   false
>>   
>>   
>> 2
>> 
>>   
>> https://server/my_repo.git
>> Nice GUUID
>>   
>> 
>> 
>>   
>> */master
>>   
>> 
>> 
>> false
>> 
>> 
>>   
>>   true
>>   false
>>   
>> false
>>   false
>>   
>> 
>>   */10 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0,1 
>> * * *
>> 
>>   
>>   false
>>   
>> 
>>   ./my_script.rb PRODUCT PLATFORM
>> 
>>   
>>   
>> 
>>   te...@example.com
>>   false
>>   false
>> 
>>   
>>   
>> > plugin="ansicolor@0.4.2">
>>   xterm
>> 
>> 
>>   > pluginid="rvm">
>> rvm
>> 
>>   2.3.0
>> 
>>   
>> 
>>   
>> 
>>
>> When I *Reload Configuration from Disk* in *Manage Jenkins* I get a *You 
>> have data stored in an older format and/or unreadable data.*
>>
>> In the *Manage Old Data* I see the following *Unreadable Data*:
>> TypeNameError
>> hudson.model.FreeStyleProject MyJob NoSuchMethodError: 
>> org.jruby.RubyClass.getVariableAccessorForWrite(Ljava/lang/String;)Lorg/jruby/RubyClass$VariableAccessor;,
>>  
>> MissingFieldException: No field 'impl' found in class 'java.lang.Object', 
>> InstantiationError: null
>> In the job configuration the checkmark and value for *Color ANSI Console 
>> Output *and *Run the build in a RVM-managed environment* are empty and 
>> not set.
>>
>> I tried to discard the unreadable data. Then I tick on the two properties 
>> and set the value to the same as in the config.xml and save. Then the 
>> config.xml is exactly the same as before I discarded the unreadable data.
>>
>> When I *Reload Configuration from Disk* in *Manage Jenkins* I get a the *You 
>> have data stored in an older format and/or unreadable data* again.
>>
>> How do I get Jenkins to read my configuration correctly again?
>>
>> I use Jenkins 2.19 via Jenkins.app 
>>  on Mac OS X 10.11.6 with the 
>> newest RVM and ANSI color plugins.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8f976a9a-ecdc-4854-b1fd-bd8803548a90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Resolving Artifacts using Jenkins job with directory, files and subdirectory

2016-08-24 Thread Uttam Naskar
How to Resolving Artifacts using Jenkins job with directory, files and sub 
directory?

Below Configuration in Jenkins job to Resolved Artifacts doesn't works:

*repo_key:Group/Artifact/*=>Output*

How do I download all files under the Artifact directory to the Output 
directory.

Thanks,
Uttam Naskar



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/34d11abf-e54c-47c6-b756-3e8c93dab355%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is a permanent agent or slave server when discussing Jenkins?

2016-08-24 Thread Daniel Beck

> On 24.08.2016, at 10:11, Stephen Connolly  
> wrote:
> 
> The "permanent" bit was added to indicate that this is an agent that will 
> stick around

Even more nit: 'permanent' replaced 'dumb'.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/41E2E200-68B6-4046-B03A-84EA2E171F94%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Build Failure Analyzer - display tests names aong with fail causes

2016-08-24 Thread Patryk Drabiński
I'm really new to Jenkins. My company is using Build Failure Analyzer to 
find out causes for failed tests. What we would like to get is to have on a 
Build Page names of tests that failed along with category of error. 
Something in such way:

Test 1 - Download Error
Test 2 - Upload Error
Test 3 - Permission Error 

My question is if it can be done and how? Any tips would be valuable. 
Please take into consideration I'm really new to the topic so all baby 
steps are welcome.

I do have some coding experience but I would like to know what I need to 
learn to achieve what my company demands.

Thank you for taking time to read this post

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/53c6ff7c-70d0-44ad-b53a-c8fe1108c07a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is a permanent agent or slave server when discussing Jenkins?

2016-08-24 Thread Stephen Connolly
On Friday 19 August 2016, Baptiste Mathus  wrote:

> Hi,
>
> Fwiw, slave in Jenkins 1.x and "permanent agent" in Jenkins 2.x is indeed
> the same thing.
>
>
> Nit:

Agent and slave are the same thing. The "permanent" bit was added to
indicate that this is an agent that will stick around as distinct from an
agent provisioned by a cloud that will be removed when the cloud seems it
idle (ie the cloud ones are "temporary")

>
> This vocabulary change is the result of https://issues.jenkins-ci.org/
> browse/JENKINS-27268 to remove the term 'slave' from Jenkins.
>




> As for your question, I guess there's no general answer. IMO you have to
> go back to asking you what a /server/ does. Serve something?
>
> As for the "slave *server*" term you're using, well I'd be curious if you
> found that in some docs, since the "server" suffix would seem quite wrong
> in general IMO.
>
> My 2 cents
>
> Le 19 août 2016 12:52 AM, "Kiran"  > a écrit :
>
>> In the context of Jenkins, is a slave server one that receives a build?
>> Or is it an auxiliary server that offloads some of the computing demand for
>> resources of a distributed build?
>>
>> With Jenkins 2.x, the term is "permanent agent."  I want to know
>> precisely what to call a server that receives a Jenkins build/deployment.
>> If a file receives code or a file from Jenkins, what is the server called?
>> Is it a managed node?  Is there no term for it?
>>
>> --
>> 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
>> 
>> .
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-users/6564596c-47a8-4c18-a103-0ee6fed65bf6%
>> 40googlegroups.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
> 
> .
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/CANWgJS5sAk3edQ3JL5OGH8LY9WLaQ
> %3D-41ExxZ%2BL4h7PbZ0cPWQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my phone

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyLwEp%3DK66cu%3DaM%3D5NXD7mVJcv0JJOzZLtfFAHdKmkwaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.