Re: JWT authentication via -DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true causing blue ocean UI to hang

2018-08-10 Thread jackharttech
I just captured some logs after turning on the JWT authn, and these log 
lines appear to be happening when I try to access the UI:

INFO: Jenkins is fully up and running
--> setting agent port for jnlp
--> setting agent port for jnlp... done
Aug 10, 2018 10:13:18 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #24
Aug 10, 2018 10:13:18 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #24
Aug 10, 2018 10:13:31 PM 
org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue doConfigure
WARNING: Failed Jenkins SSE Gateway configuration request. Unknown SSE 
event dispatcher jenkins-blueocean-core-js-1533926504228-5sq7f
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #24
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #24
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #23
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #23
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #22
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #22
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #20
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #20
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #19
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #19
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #17
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #17
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #16
Aug 10, 2018 10:13:35 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #16
Aug 10, 2018 10:13:36 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #14
Aug 10, 2018 10:13:36 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #14
Aug 10, 2018 10:13:36 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #13
Aug 10, 2018 10:13:36 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #13
Aug 10, 2018 10:13:36 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #12
Aug 10, 2018 10:13:36 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #12
Aug 10, 2018 10:13:36 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #11
Aug 10, 2018 10:13:36 PM 
org.jenkinsci.plugins.workflow.support.steps.input.InputAction 
loadExecutions
WARNING: no flow execution found for 
creating-a-pipeline-in-blue-ocean/master #11
Aug 10, 2018 

Re: Aggregating jobs and config from many servers into one

2018-08-10 Thread RAJENDRA PRASAD
Another simple way is to just copy every job config.xml file from source
jenkins server to target jenkins server. You can use shell script for that.
Just copy /jobs//config.xml from source
jenkins folder to target jenkins server folder.

Jenkins cli is not a bad option, if we can script property we can move
plugins and jobs easily.

Rajendra

On Sat 11 Aug, 2018, 2:37 AM Kevin White, 
wrote:

> Thanks Rajendra.  I had avoided using the CLI because there are so many
> jobs to be moved, and it doesn't move plugins, credentials, etc.  I was
> hoping for a more-automated way of doing it, but it might not exist.  I
> have looked at butler, I'll take another look.
>
> On Friday, August 10, 2018 at 11:33:21 AM UTC-6, rajendraprasad reddy
> wrote:
>>
>> Check whether the remote machines enabled REST Interface or jenkins cli,
>> you can easily export and import  jobs from any jenkins server to any other
>> jenkins server, other useful utility also I found called 'butler, script,
>> check online if you cannot find it I can send you link for the that to
>> download and use it, it is very simple, it also supports export and
>> importing plugins too.
>>
>> Thanks ,
>> rajendra@gmail.com
>>
>> On Fri 10 Aug, 2018, 10:00 PM Kevin White,  wrote:
>>
>>> My team has several different Jenkins servers that we have decided to
>>> aggregate into just one.  I'm somewhat familiar with the process of
>>> migrating one old Jenkins instance to a new one, where the new one is
>>> essentially a clone of the old.  What I haven't seen is instructions for
>>> combining jobs/configs/plugins from multiple instances into one.
>>>
>>> I have installed the Job Import plugin, but for some reason, it doesn't
>>> list the jobs on most of the remote machines so they can't be imported.  No
>>> errors, just no jobs listing.  I suspect it may have something to do with
>>> the fact that the remote machines all use SSL.  I have provided working
>>> credentials in the plugin configuration for each of the remote instances,
>>> so that's not the issue.
>>>
>>> I have looked at thinBackup plugin, but it appears that it will restore
>>> only from one source, not many.
>>>
>>> If I copy the jobs folder over from the remotes, I won't get all the
>>> necessary plugins and other configuration files.
>>>
>>> I am currently trying to rsync from each of the remotes to the new one,
>>> but I have a feeling that will result in some incompatibilities.
>>>
>>> Any suggestions on how best to accomplish this?
>>>
>>> --
>>> 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/d88f55f3-4712-4e47-9f50-930a1f7dc207%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/6f36556d-677f-4b89-b4bf-5a4e1451d870%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/CAMrg02QgVwm2_%2B%3DecL-BhgQ6iifL6S-wW2BqE1TjYbRg%2B2ceTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


JWT authentication via -DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true causing blue ocean UI to hang

2018-08-10 Thread jackharttech
Hi folks,

I'm running the jenkinsci/blueocean docker container on docker for mac.  
Out of the box I'm able to create pipelines and run them, but I tried to 
turn on JWT security and after doing that the blue ocean UI won't load.  I 
get the blue progress bar going about 9/10ths of the way done but it just 
stays there and never completes.

I tried to use this docker run command to turn on JWT security:

docker run -u root --rm  --name jenkins-blueocean -d  -p 8080:8080 -p 
5:5 -v jenkins-data:/var/jenkins_home -v 
/var/run/docker.sock:/var/run/docker.sock --env 
JAVA_OPTS=-DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true jenkinsci/blueocean

If I stop the container (docker container stop jenkins-blueocean) and run 
the docker image without the -DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true 
flag, then my server comes up and behaves normally.  

If I flip back to the -DBLUEOCEAN_FEATURE_JWT_AUTHENTICATION=true flag as 
shown in the docker run command above I get this situation every time, and 
I'm unable to access the UI.

The command I'm using to launch the container without JWT security is 
almost identical to the above, it simply lacks the construct to pass the -D 
flag like this:

docker run -u root --rm  --name jenkins-blueocean -d  -p 8080:8080 -p 
5:5 -v jenkins-data:/var/jenkins_home -v 
/var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean

When launched like this without the -D flag for JWT all's well.  Am I doing 
something wrong?

Should I enter a jira ticket for this?

-- 
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/0ed7a7c9-71f4-40a6-8bca-393026de4ed7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Aggregating jobs and config from many servers into one

2018-08-10 Thread Kevin White
Thanks Rajendra.  I had avoided using the CLI because there are so many 
jobs to be moved, and it doesn't move plugins, credentials, etc.  I was 
hoping for a more-automated way of doing it, but it might not exist.  I 
have looked at butler, I'll take another look.

On Friday, August 10, 2018 at 11:33:21 AM UTC-6, rajendraprasad reddy wrote:
>
> Check whether the remote machines enabled REST Interface or jenkins cli, 
> you can easily export and import  jobs from any jenkins server to any other 
> jenkins server, other useful utility also I found called 'butler, script, 
> check online if you cannot find it I can send you link for the that to 
> download and use it, it is very simple, it also supports export and 
> importing plugins too.
>
> Thanks ,
> rajendra@gmail.com 
>
> On Fri 10 Aug, 2018, 10:00 PM Kevin White,  > wrote:
>
>> My team has several different Jenkins servers that we have decided to 
>> aggregate into just one.  I'm somewhat familiar with the process of 
>> migrating one old Jenkins instance to a new one, where the new one is 
>> essentially a clone of the old.  What I haven't seen is instructions for 
>> combining jobs/configs/plugins from multiple instances into one.
>>
>> I have installed the Job Import plugin, but for some reason, it doesn't 
>> list the jobs on most of the remote machines so they can't be imported.  No 
>> errors, just no jobs listing.  I suspect it may have something to do with 
>> the fact that the remote machines all use SSL.  I have provided working 
>> credentials in the plugin configuration for each of the remote instances, 
>> so that's not the issue.
>>
>> I have looked at thinBackup plugin, but it appears that it will restore 
>> only from one source, not many.
>>
>> If I copy the jobs folder over from the remotes, I won't get all the 
>> necessary plugins and other configuration files.
>>
>> I am currently trying to rsync from each of the remotes to the new one, 
>> but I have a feeling that will result in some incompatibilities.
>>
>> Any suggestions on how best to accomplish this?
>>
>> -- 
>> 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/d88f55f3-4712-4e47-9f50-930a1f7dc207%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/6f36556d-677f-4b89-b4bf-5a4e1451d870%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ERROR: Step ‘Archive the artifacts’ aborted due to exception

2018-08-10 Thread Nitish Goel
Hi,

Build is failing to archive the artifacts. Can someone help? 

Archiving artifacts*08:11:06* ERROR: Step ‘Archive the artifacts’ aborted due 
to exception: *08:11:06* java.lang.InterruptedException 
*08:11:06*
  at java.lang.Object.wait(Native Method)*08:11:06*   at 
hudson.remoting.Request$1.get(Request.java:269)*08:11:06*at 
hudson.remoting.Request$1.get(Request.java:207)*08:11:06*at 
hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)*08:11:06*   at 
hudson.FilePath.copyRecursiveTo(FilePath.java:2213)*08:11:06*at 
jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)*08:11:06*
 at 
hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:219)*08:11:06*   at 
hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75)*08:11:06*
  at 
hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*08:11:06*  at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)*08:11:06*
  at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)*08:11:06*
 at hudson.model.Build$BuildExecution.post2(Build.java:185)*08:11:06*at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)*08:11:06*
 at hudson.model.Run.execute(Run.java:1766)*08:11:06*at 
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)*08:11:06*at 
hudson.model.ResourceController.execute(ResourceController.java:98)*08:11:06*   
 at hudson.model.Executor.run(Executor.java:408)*08:11:06* Skipping 
Cobertura coverage report as build was not UNSTABLE or better ...*08:11:06* 
Recording test results*08:11:06* ERROR: Step ‘Publish JUnit test result report’ 
aborted due to exception: *08:11:06* java.lang.InterruptedException 
*08:11:06*
 at java.lang.Object.wait(Native Method)*08:11:06*   at 
hudson.remoting.Request.call(Request.java:147)*08:11:06* at 
hudson.remoting.Channel.call(Channel.java:780)*08:11:06* at 
hudson.FilePath.act(FilePath.java:980)*08:11:06* at 
hudson.FilePath.act(FilePath.java:969)*08:11:06* at 
hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:103)*08:11:06*   at 
hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:128)*08:11:06*
 at 
hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:149)*08:11:06*
   at 
hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75)*08:11:06*
  at 
hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*08:11:06*  at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)*08:11:06*
  at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)*08:11:06*
 at hudson.model.Build$BuildExecution.post2(Build.java:185)*08:11:06*at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)*08:11:06*
 at hudson.model.Run.execute(Run.java:1766)*08:11:06*at 
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)*08:11:06*at 
hudson.model.ResourceController.execute(ResourceController.java:98)*08:11:06*   
 at hudson.model.Executor.run(Executor.java:408)*08:11:41* 'Disable Failed 
Job Plugin' Disabled Job*08:11:41* [BFA] Scanning build for known 
causes...*08:11:41* 

-- 
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/b0f65822-8e84-4733-9e2a-5a2036050dd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Aggregating jobs and config from many servers into one

2018-08-10 Thread RAJENDRA PRASAD
Check whether the remote machines enabled REST Interface or jenkins cli,
you can easily export and import  jobs from any jenkins server to any other
jenkins server, other useful utility also I found called 'butler, script,
check online if you cannot find it I can send you link for the that to
download and use it, it is very simple, it also supports export and
importing plugins too.

Thanks ,
rajendra.penuma...@gmail.com

On Fri 10 Aug, 2018, 10:00 PM Kevin White, 
wrote:

> My team has several different Jenkins servers that we have decided to
> aggregate into just one.  I'm somewhat familiar with the process of
> migrating one old Jenkins instance to a new one, where the new one is
> essentially a clone of the old.  What I haven't seen is instructions for
> combining jobs/configs/plugins from multiple instances into one.
>
> I have installed the Job Import plugin, but for some reason, it doesn't
> list the jobs on most of the remote machines so they can't be imported.  No
> errors, just no jobs listing.  I suspect it may have something to do with
> the fact that the remote machines all use SSL.  I have provided working
> credentials in the plugin configuration for each of the remote instances,
> so that's not the issue.
>
> I have looked at thinBackup plugin, but it appears that it will restore
> only from one source, not many.
>
> If I copy the jobs folder over from the remotes, I won't get all the
> necessary plugins and other configuration files.
>
> I am currently trying to rsync from each of the remotes to the new one,
> but I have a feeling that will result in some incompatibilities.
>
> Any suggestions on how best to accomplish this?
>
> --
> 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/d88f55f3-4712-4e47-9f50-930a1f7dc207%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/CAMrg02SPgnbwGCbKva7-%2B0P-%3DgoWk%2BwFQi-w030hEzsv%2BLMe2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins (local) start parallel test (server)

2018-08-10 Thread RAJENDRA PRASAD
100% possible if  your jenkins server can able to connect server.

To guide you more I need more details about of your test like how it is
setup, using any ant or maven build tools to run these scripts?

Thanks,
Rajendra


On Fri 10 Aug, 2018, 10:00 PM Egor Kozlov,  wrote:

> I've got a question. I need to parallel start tests of the project. But I
> must to do that on my local Jenkins, and the project is on the server.
>
>
> Okey, I've got a Jenkins on my machine (localhost) on Tomcat (localhost).
>
> How can I connect/write configuration/... to connect on server and
> parallel start tests?
>
>
> 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/2245af29-55b7-401e-bbaf-151594acb2e2%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/CAMrg02RW3Xazvmo8ejyYd5vXcA-5Y6UR94VBgxPUcr7XXu52dA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installation of jenkins through tomcat

2018-08-10 Thread RAJENDRA PRASAD
Check your connectivity and check firewall settings, if you are using linux
you may need to open port 8080.

Thanks,
Rajendra

On 10-Aug-2018 10:00 PM,  wrote:

HI all,

As im installing jenkins with tomcat7 .

It shows like you're in offline so not able to download plugins.

Could you please somebody help into this.

-- 
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/8ab229f7-dd71-4eeb-bddc-f59ddab1%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/CAMrg02Rv5ZYNY4QZ7bafkxVDQryH6YNN4Pq4FnLfPnGVEqkr1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: is there a scripted way for LDAP settings configuration from old jenkins server to new jenkins server

2018-08-10 Thread rajendraprasad reddy
???

-- 
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/f6d1f9cd-6f7a-4999-bf73-4b07483dc7b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver and hudson.maven.reporters.MavenFingerprinter

2018-08-10 Thread gary . l . mills


Hello, 

 

I was on Jenkins 1.6.x I’ve upgraded and fresh install of Jenkins 2.136. 

 

Since the upgrade I continuously get these warnings. I’m not sure what this 
is saying.  Any help would be greatly appreciated. Thanks!

 

I looked at the doc, but, don’t know what to do with it. 

 

*[WARNING] Attempt to (de-)serialize anonymous class 
hudson.maven.reporters.MavenArtifactArchiver$2; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/ 
*

*[WARNING] Attempt to (de-)serialize anonymous class 
hudson.maven.reporters.MavenFingerprinter$1; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/ 
*

 

 

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/a8fc504e-46c7-4014-8d3c-34994273f132%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Configuration-as-Code 1.0-RC1 released

2018-08-10 Thread nicolas de loof
Hi,

The Configuration-as-Code team is proud to announce we published our first
release candidate.
We published a dozen alpha release before, and already got feedback and
contribution from early adopters, so that we are now pretty confident with
current design. We expect to release few more RC so we can get 1.0
production-ready release published in Septembre (just in time for Jenkins
World yeah!)

We welcome any feedbacks to ensure we don't miss any important use case or
compatibility issue before we get 1.0-final. Feel free to join our Gitter
chat  or report
issues .

-- 
Nicolas De Loof

-- 
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/CANMVJzmekUORUHbwSudWS7JPxQTXVxMPRfA2%2BRfB0i4qnj0OiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Aggregating jobs and config from many servers into one

2018-08-10 Thread Kevin White
My team has several different Jenkins servers that we have decided to 
aggregate into just one.  I'm somewhat familiar with the process of 
migrating one old Jenkins instance to a new one, where the new one is 
essentially a clone of the old.  What I haven't seen is instructions for 
combining jobs/configs/plugins from multiple instances into one.

I have installed the Job Import plugin, but for some reason, it doesn't 
list the jobs on most of the remote machines so they can't be imported.  No 
errors, just no jobs listing.  I suspect it may have something to do with 
the fact that the remote machines all use SSL.  I have provided working 
credentials in the plugin configuration for each of the remote instances, 
so that's not the issue.

I have looked at thinBackup plugin, but it appears that it will restore 
only from one source, not many.

If I copy the jobs folder over from the remotes, I won't get all the 
necessary plugins and other configuration files.

I am currently trying to rsync from each of the remotes to the new one, but 
I have a feeling that will result in some incompatibilities.

Any suggestions on how best to accomplish this?

-- 
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/d88f55f3-4712-4e47-9f50-930a1f7dc207%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Need Business Object Developer in MD

2018-08-10 Thread Shoaib Khan
 This is an opening for my direct financial client in MD, please review and
send me your resume and call me to discuss details.



Location: MD



Roles/Responsibilities:

Location: MD

Job Description: Roles/Responsibilities:

Skill set requirements:

*   B/O report development

*   B/O WEBI development interface

*   B/O Universe skillset - use it, update it as required

*   Basic SQL command

*   PL/SQL desirable

*   Strong communication - written & oral - direct interface with
business unit

*   Lead SDLC phases

*   IFM/ETL beneficial - not a must requirement




*With Gratitude*



*Shoaib Khan* *I* Talent Acquisition Manager

Zenithtech Solutions

3, Computer DR West, Suite #107- Albany, NY-12205

D: 518-870-1864 *I* F: 518-244-4977

sho...@zenithtechsolutions.com 

* Hangout:- shoaib.zenitht...@gmail.com *

www.zenithtechsolutions.com

Computer Programming and Software Services





*DISCLAIMER:*
Note:This is not an unsolicited mail. Under Bill 1618 Title III passed by
the 105th USA Congress this email cannot be considered as spam as long as
we include our contact information and an option to be removed from our
mailing list. If you have received this message in error or, are not
interested in receiving our emails, please accept our apologies.To be
removed from our mailing list, please reply with the subject line. All
removal requests will be honored ASAP. We sincerely apologize for any
inconvenience caused to you.

-- 
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/CAHBe3f5x5maik7WKc6_K-%3DkrPJ_8RmKW6jMree4HUQ9r_y%2BdfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: is there a scripted way for LDAP settings configuration from old jenkins server to new jenkins server

2018-08-10 Thread Zen Fone
On Thursday, August 9, 2018 at 10:55:55 PM UTC+7, rajendraprasad reddy wrote:
> Hi,
> I am migrating jenkins server jew jenkins server,
> We use LDAP authentication,
> is there a scripted  way to LDAP settings configuration from old server tonew 
> server?
> 
> 
> 
> -Rajendra

-- 
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/01625540-255d-4b77-97c7-3bb655712dff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins: How to run test on multiple hosts in parallel?

2018-08-10 Thread amir.kolsky via Jenkins Users

>
> Are you using ad-hoc or script?
>

xx 

-- 
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/63656e97-775e-4865-93e5-5ad637957807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins standalone configuration to server

2018-08-10 Thread Egor Kozlov
Hello everyone!

I've got a problem with Jenkins (I'm newbie with this)
What I want to do?

I want to parallel start some tests of the project. This project is on 
server, but I must to start tests on my local Jenkins.

Okey, 
I install Jenkins (localhost) on Tomcat (localhost). 
And now - how can I connect/write configuration/... in my Jenkins to 
connect to the project and parallel start tests?

-- 
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/2af715e0-788a-4699-bb72-516aba62849f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins (local) start parallel test (server)

2018-08-10 Thread Egor Kozlov


I've got a question. I need to parallel start tests of the project. But I 
must to do that on my local Jenkins, and the project is on the server.


Okey, I've got a Jenkins on my machine (localhost) on Tomcat (localhost).

How can I connect/write configuration/... to connect on server and parallel 
start tests?


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/2245af29-55b7-401e-bbaf-151594acb2e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Calling global /vars from /src

2018-08-10 Thread amir.kolsky via Jenkins Users


Situation is simple - 

IN A GLOBAL LIBRARY (OUTSIDE THE SANDBOX):

in src - a.b.c.Utils.groovy

in vars - Defaults.groovy


How do I call Defaults.groovy from within Utils.groovy?

In src:

#!groovy
package a.b.c

public class Utils implements Serializable {
def script
public def run() {
 script.echo(Defaults.text)//groovy.lang.MissingPropertyException: No 
such property: Defaults for class: a.b.c.Utils
}
}

in vars

#!groovy

public class Defaults {
public static def text = "hello world"
}

in Jenkinsfile:

@Library("ItLoads")
utils = new a.b.c.Utils(this)
...
utils.run()

so I tried to load the library explicitly

#!groovy
package a.b.c

public class Utils implements Serializable {
def script
public def run() {
 println(script.library("ItLoads").Defaults.text)//Only using first 
definition of library pipelineUtilities
//java.lang.IllegalAccessException: Defaults was defined in 
file:///apps/opt/.../vars/Ansible.groovy which was not inside 
file:///apps/opt/.../src/
}
}

So, Defaults *is* defined somewhere, but I have no idea how to get to it...

*If I try to use Defaults in the Jenkinsfile, it works*


*Help!*

-- 
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/9d040a04-919c-4f23-b50d-7e430f0dc69d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jmeter Test execution - Blank Performance Trend graphs

2018-08-10 Thread Surjit Bains
If you view the blank page using the developer tools in your browser what
do you see?


On Fri, 3 Aug 2018 at 21:06, Ajith Raman  wrote:

> Hello,
> I run a Jmeter test via Jenkins. Please find below the commands used:
> Execute Windows Batch command (Build): cd
> C:\Users\C51539A\Downloads\apache-jmeter-4.0\bin jmeter
> -Jjmeter.save.saveservice.output_format=csv -n -t Sample_Framework.jmx -l
> TestResults_%BUILD_NUMBER%.jtl -e -o
> C:\Users\C51539A\Downloads\apache-jmeter-4.0\bin\HTML_%BUILD_NUMBER%
> Publish Performance Test result report (Post-Build Actions):
> C:\Users\C51539A\Downloads\apache-jmeter-4.0\bin\TestResults_${BUILD_NUMBER}.jtl
> Now the execution completes successfully. But the Performance Trend Graphs
> are blank. Could you please help me on this? Note: All works fine, when
> _${BUILD_NUMBER} is removed from the filename. Issue exists, only when
> _${BUILD_NUMBER} is appended to the filename. Am performing this, in order
> to make the output files unique.
> Thanks in Advance!!
>
> --
> 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/f87297df-97b4-4fe1-a857-c802dfcd225e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Surjit Bains
e: surjit.ba...@gmail.com
m: 07966 161 302

-- 
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/CAMy1pK62c9txGMWb_xz39B5eHXTv3MT3e1OyNdZM%2BPxSCEncrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Installation of jenkins through tomcat

2018-08-10 Thread biyyappan
HI all,

As im installing jenkins with tomcat7 .

It shows like you're in offline so not able to download plugins.

Could you please somebody help into this.

-- 
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/8ab229f7-dd71-4eeb-bddc-f59ddab1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline aborts for unknown reasons

2018-08-10 Thread Markus "Shorty" Uckelmann

On 8/10/18 1:34 PM, 'Björn Pedersen' via Jenkins Users wrote:

Hi,


Hola Björn,


I think you  are trying to be too clever here:


HaHa, would I ask this if I was clever?  ;)

pipeline{ } expects a declarative pipeline, but you are supplying a 
scripted one inside.


Brilliant, I should have known that.


The error mentions

[...]
at WorkflowScript.runPipeline(WorkflowScript:23)   <- this is  the line 
in your script where the error happens.

[...]
Thanks for pointing that out. Still can't read Java stack traces...


Try to get it working without  'pipeline {} '


Done and done. It works!

Many, many thanks, Björn. You saved me from going insane.

Cheers, Shorty

--
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/37fb16fb-8307-151b-fc1d-64c3c5587f2f%40koeln.de.
For more options, visit https://groups.google.com/d/optout.


AW: Jenkins: How to run test on multiple hosts in parallel?

2018-08-10 Thread Spriggs, Jim
Hi,

Are your test hosts actual Slave Nodes in the Jenkins sense?
If they are, you might want to consider using a Multi-Configuration (“Matrix”) 
Job.
Then you could use the Node Names/Labels of your 5 hosts as an axis in the 
Configuration Matrix.
The configurations will be run in parallel by default, and the status consoles 
and results will all be independently available.

Works for me.

Good Luck!
--
jim


Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Vijay Hiremath
Gesendet: Dienstag, 7. August 2018 08:43
An: jenkinsci-users@googlegroups.com
Betreff: Re: Jenkins: How to run test on multiple hosts in parallel?

Thank you for the response.

Unfortunately build is parameterized and each slave connected to Jenkins host 
have different parameters.
Hence, cannot use pssh

On Mon, Aug 6, 2018 at 10:20 PM, 
mailto:sujay...@gmail.com>> wrote:
If your nodes are on linux, try installing pssh on the server

1. Install pssh
 yum install python-pip
 pip install pssh

2. create a host file 'pssh-host' with the number of hosts along with IP 
address and port number
 that you need to connect to remote systems using pssh.

3. Execute command using pssh from Jenkins Build > Execute shell:
e.g pssh -h pssh-hosts -l root -A echo "Test"

On Friday, August 3, 2018 at 5:49:24 PM UTC+5:30, Vijay Hiremath wrote:
Hi All,
How to run test on multiple hosts in parallel? Below is the requirement.
1.  I have a Jenkins job A.
2.  5 hosts are connected to A.
3.  Test X need to be run on all 5 hosts. Also need to see the status of 
test on an independent console.
4.  Result form the hosts need to be independently published
5.  Currently test X is run on only one host and rest 4 hosts tests are in 
Queue.
I used "Execute concurrent builds if necessary" but, it just divides same test 
on 5 hosts so it does not do what I intended. What is the workaround here?
Regards
Vijay
--
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/d82a438f-68d4-4f8e-a30c-baf6cd103673%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/CAL6S71G1kDF4YYCFz9LRndL1VfCr%2BJtYRZtg-j%3DS%3D%3D0s0NoxRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



RAYLASE GmbH
Argelsrieder Feld 2+4
82234 Wessling
Germany
Tel.: +49-(0)8153/88 98-0
Fax: +49-(0)8153/88 98-10
http://www.raylase.de

District Court Munich, HRB 234738

Management: Dr. Philipp Schön (CEO), Berthold Dambacher (CTO)


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.

-- 
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/25599d86938447c7b0117fbabc212fb2%40raylase.de.
For more options, visit https://groups.google.com/d/optout.


Re: Jmeter Test execution - Blank Performance Trend graphs

2018-08-10 Thread Ajith Raman
Hello All,

Could anyone help me on this?

Regards,
Ajith

On Tuesday, 7 August 2018 18:54:39 UTC+5:30, Ajith Raman wrote:
>
> Hi Jan,
>
>
>
> I did enable logging for "hudson.plugins.performance" (Logger level set 
> to "ALL").
>
> But the log is blank.
>
>
> Please find below the steps performed (in order to enable logging):
>
> 1. Add a New Log Recorder.
> 2. Provide an appropriate name.
> 3. Click on "Add" (adjacent to Loggers).
> 4. Enter the Logger as "hudson.plugins.performance".
> 5. Set the Log level to "ALL".
> 6. Save.
>
>
> Kindly find the Logger configuration attached.
>
>
> Thanks for all the help.
>
>
>
> Regards,
> Ajith
>
>
>
> On Tuesday, 7 August 2018 10:16:53 UTC+5:30, Jan Monterrubio wrote:
>>
>> I can’t find anything super obvious from a quick glance at the code. Can 
>> you enable logging for: 
>> hudson.plugins.performance
>>
>>
>> Maybe it will show us how it’s evaluating whether there’s previous 
>> results or not. 
>>
>> Looks like the class where we might find what’s happening might be 
>>
>>
>> https://github.com/jenkinsci/performance-plugin/blob/master/src/main/java/hudson/plugins/performance/PerformancePublisher.java
>>
>>
>> On Mon, Aug 6, 2018 at 04:21 Ajith Raman  wrote:
>>
>>> Hi Jan,
>>>
>>> Thank you very much for the response. The plug-in used is 
>>> Performance.hpi (version - 2.1).
>>>
>>> Regards,
>>> Ajith
>>>
>>> On Sunday, 5 August 2018 09:20:27 UTC+5:30, Jan Monterrubio wrote:

 What plugin is generating the performance trends? 

 On Fri, Aug 3, 2018 at 3:06 PM Ajith Raman  wrote:

> Hello,
> I run a Jmeter test via Jenkins. Please find below the commands used: 
> Execute Windows Batch command (Build): cd 
> C:\Users\C51539A\Downloads\apache-jmeter-4.0\bin jmeter 
> -Jjmeter.save.saveservice.output_format=csv -n -t Sample_Framework.jmx -l 
> TestResults_%BUILD_NUMBER%.jtl -e -o 
> C:\Users\C51539A\Downloads\apache-jmeter-4.0\bin\HTML_%BUILD_NUMBER% 
> Publish Performance Test result report (Post-Build Actions): 
> C:\Users\C51539A\Downloads\apache-jmeter-4.0\bin\TestResults_${BUILD_NUMBER}.jtl
>  
> Now the execution completes successfully. But the Performance Trend 
> Graphs 
> are blank. Could you please help me on this? Note: All works fine, when 
> _${BUILD_NUMBER} is removed from the filename. Issue exists, only when 
> _${BUILD_NUMBER} is appended to the filename. Am performing this, in 
> order 
> to make the output files unique. 
> Thanks in Advance!!
>
> -- 
> 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/f87297df-97b4-4fe1-a857-c802dfcd225e%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-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/abe428d3-c392-4b24-b10c-7bd9c5cabc34%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/650ee4c0-b60b-4769-a626-595ab0ccc801%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline aborts for unknown reasons

2018-08-10 Thread 'Björn Pedersen' via Jenkins Users
Hi,

I think you  are trying to be too clever here: 
pipeline{ } expects a declarative pipeline, but you are supplying a 
scripted one inside. 
The error mentions 
at 
org.jenkinsci.plugins.pipeline.modeldefinition.ModelInterpreter.call(jar:file:/data/jenkins/plugins/pipeline-model-definition/WEB-INF/lib/pipeline-model-definition.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy:59)
 
at WorkflowScript.runPipeline(WorkflowScript:23)   <- this is  the line in 
your script where the error happens.
at WorkflowScript.run(WorkflowScript:10)
Try to get it working without  'pipeline {} '

Björn

Am Donnerstag, 9. August 2018 17:28:44 UTC+2 schrieb Markus "Shorty" 
Uckelmann:
>
> Hello all, 
>
> My Jenkinsfile aborts with an error and I can't find the reason. I ran 
> out of ideas. Also I have no clue what the error means (neither Java nor 
> Groovy is my strength). The curious thing is, when I remove the last 
> block ("Clean") in the runPipeline function the job runs successfully. 
>
> Please let me know if more information is needed. 
>
> Any help would be much appreciated. 
>
>
> First line of the error is: 
>
> hudson.remoting.ProxyException: 
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot 
> cast object '{clean-composer=null, clean-qucli=null}' with class 
> 'java.util.HashMap' to class 
> 'org.jenkinsci.plugins.pipeline.modeldefinition.model.Root' due to: 
> groovy.lang.GroovyRuntimeException: Could not find matching constructor 
> for: 
> org.jenkinsci.plugins.pipeline.modeldefinition.model.Root(java.util.HashMap) 
>
>
>
> Jenkinsfile: 
>
> https://gist.github.com/bemeyert/3f88cc0c458d9d8c2dc5e853fdf4e7b4#file-jenkinsfile-groovy
>  
>
> Complete error: 
>
> https://gist.github.com/bemeyert/3f88cc0c458d9d8c2dc5e853fdf4e7b4#file-jenkins-error
>  
>
>
> Cheers, Shorty 
>

-- 
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/8f550a37-4fa7-41af-9747-bf76407cefb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to launch a browser

2018-08-10 Thread Ajith Raman
Hello All,

Could someone help me on this?

Regards,
Ajith

On Monday, 6 August 2018 18:07:26 UTC+5:30, Ajith Raman wrote:
>
> Hello All,
>
>
>
> I try to launch a browser via Jenkins. Unfortunately, it doesn't works 
> (But the build succeeds).
>
>
> Please find below the command used:
>
> Build (Execute Windows Batch Command):
> *start chrome "www.google.com "*
>
>
> Could someone help me on this?
>
>
>
> Regards,
> Ajith
>

-- 
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/0be1bf51-47ab-4d0d-846c-12aa17433995%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.