Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Dallas Clement
No I don't have any post commit hook defined.  Starting with a green field 
here.  Sounds like that's what I need to setup though.

I also don't have the "Scan Multibranch Pipeline Triggers" checkbox enabled 
on my job configuration.  I really don't know how it could be triggering 
unless that PollSCM in my Jenkinsfile is somehow working.

On Tuesday, August 29, 2017 at 6:48:55 PM UTC-5, Stephen Connolly wrote:
>
> Sounds like you have a post commit hook pushing the commit details to 
> Jenkins, in which case events are working... to confirm, check the cause of 
> a build, if it says "Branch Event" then you are solid gold... 
>
>
> On Wed 30 Aug 2017 at 00:42, Dallas Clement  > wrote:
>
>> Thanks for the info Stephen.  I was not aware that the pollSCM trigger 
>> was ignored in a multibranch pipeline.  Something is polling for changes.  
>> When someone pushes a change, a build gets triggered shortly thereafter.  I 
>> do agree with you that polling is evil and not scalable with many 
>> branches.  I would like to make things event driven.  Will need to 
>> investigate how with git.
>>
>>
>> On Tuesday, August 29, 2017 at 5:33:42 PM UTC-5, Stephen Connolly wrote:
>>>
>>>
>>> On Tue 29 Aug 2017 at 23:21, Stephen Connolly  
>>> wrote:
>>>
>>
 On Tue 29 Aug 2017 at 22:35, Dallas Clement  
 wrote:

> If I click on the "Scan Multibranch Pipeline Now" link in the Jenkins 
> dashboard, it will kick off a build immediately even when there were no 
> changes.  I have my declarative Jenkinsfile configured to poll for SCM 
> changes.  I only want builds to be triggered from SCM changes.  Any idea 
> how I can suppress this behavior?
>
> pipeline {
>   agent any
>   options {
> disableConcurrentBuilds()
> timestamps()
> buildDiscarder(logRotator(numToKeepStr: '8'))
>   }
>   triggers {
> // Poll every 5 minutes for new changes
> pollSCM 'H/5 * * * *'
>

 You do know in multibranch that this poll is ignored?

>>>
>>> To explain why the design is this way:
>>>
>>> 1. Polling is evil
>>>
>>> 2. In most SCM implementations the poll for each branch is effectively a 
>>> redundant check, so if you have 10 branches all polling then Jenkins will 
>>> end up doing the *exact same* operation in a parallel batch of 5 (default 
>>> polling pool size) and follow up with another batch of 5... hammering the 
>>> SCM where one request would provide the answer for all 10 branches.
>>>
>>> 3. Branch API needs to maintain its own state as to the last revision 
>>> built. Polling will not update that correctly.
>>>
>>> 4. Polling for Git can be a mess due to how git can be configured to 
>>> built multiple branches in one job.
>>>
>>> So the decision is that polling is disabled on multibranch leaf jobs (if 
>>> you have a case where it is not disabled... congratulations you have found 
>>> a bug... likely not the one you thought, but a bug... polling should not 
>>> happen for leaf nodes of a multibranch project)
>>>
>>> You want to have indexing at a frequency such that if an event was lost, 
>>> you cannot go more than this long without the build (typically somewhere 
>>> between 4-24h for most people)
>>>
>>> You want event support to trigger the builds, not polling
>>>
>>>   }
>
> -- 
> 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/4dff0257-8170-4976-8998-13f20023e528%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
 -- 
 Sent from my phone

>>> -- 
>>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/c4d93f77-80ec-4f7c-a783-0947fdb3af5c%40googlegroups.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 

Re: Publish over CIFS configuration

2017-08-29 Thread Slide
I've recently taken over maintaining this plugin, I am not super familiar
with it yet. Is there anything in the Jenkins logs?

On Tue, Aug 29, 2017, 13:29 Ted Winslow  wrote:

> Bump.  Anybody?
>
>
> On Saturday, August 26, 2017 at 12:24:05 AM UTC-4, Ted Winslow wrote:
>>
>> I don't seem to be understanding the configuration of the Publish over
>> CIFS plugin.
>>
>> I installed the plugin and am trying to add a CIFS node to no avail.  It
>> is showing every field as invalid as I look at the configuration page,
>> which I am guessing is not relevant.  I am trying to publish to another
>> server and I even went so far as to mount the drive locally to verify
>> everything was working.  Unfortunately, when I click "Test Configuration" I
>> get this error:
>>
>> Cannot read share (or directory on share)
>>
>> jenkins.plugins.publish_over.BapPublisherException: Exception when testing 
>> config. URL [smb://192.168.1.201/shared/], Message: [Failed to connect: 
>> 0.0.0.0<00>/192.168.1.201]
>>
>>
>> Any idea what I'm doing wrong?
>>
>> I can tell you that it is a guest share with public Read/Write that I was
>> able to mount as guest in fstab (but it required the ver=3 flag).  I didn't
>> enter any username or password for that reason.  I want to copy my builds
>> over to my deployment server so it can deploy the builds after they
>> complete.
>>
>>
>> 
>>
>> --
> 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/11e8057a-1082-4adf-a0ac-d44cd5e91f70%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/CAPiUgVczXcDb99%3DCaUvaJHVO0uO-jWFokARGdcU6LcD3yUfrdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Stephen Connolly
Sounds like you have a post commit hook pushing the commit details to
Jenkins, in which case events are working... to confirm, check the cause of
a build, if it says "Branch Event" then you are solid gold...


On Wed 30 Aug 2017 at 00:42, Dallas Clement 
wrote:

> Thanks for the info Stephen.  I was not aware that the pollSCM trigger was
> ignored in a multibranch pipeline.  Something is polling for changes.  When
> someone pushes a change, a build gets triggered shortly thereafter.  I do
> agree with you that polling is evil and not scalable with many branches.  I
> would like to make things event driven.  Will need to investigate how with
> git.
>
>
> On Tuesday, August 29, 2017 at 5:33:42 PM UTC-5, Stephen Connolly wrote:
>>
>>
>> On Tue 29 Aug 2017 at 23:21, Stephen Connolly 
>> wrote:
>>
>
>>> On Tue 29 Aug 2017 at 22:35, Dallas Clement 
>>> wrote:
>>>
 If I click on the "Scan Multibranch Pipeline Now" link in the Jenkins
 dashboard, it will kick off a build immediately even when there were no
 changes.  I have my declarative Jenkinsfile configured to poll for SCM
 changes.  I only want builds to be triggered from SCM changes.  Any idea
 how I can suppress this behavior?

 pipeline {
   agent any
   options {
 disableConcurrentBuilds()
 timestamps()
 buildDiscarder(logRotator(numToKeepStr: '8'))
   }
   triggers {
 // Poll every 5 minutes for new changes
 pollSCM 'H/5 * * * *'

>>>
>>> You do know in multibranch that this poll is ignored?
>>>
>>
>> To explain why the design is this way:
>>
>> 1. Polling is evil
>>
>> 2. In most SCM implementations the poll for each branch is effectively a
>> redundant check, so if you have 10 branches all polling then Jenkins will
>> end up doing the *exact same* operation in a parallel batch of 5 (default
>> polling pool size) and follow up with another batch of 5... hammering the
>> SCM where one request would provide the answer for all 10 branches.
>>
>> 3. Branch API needs to maintain its own state as to the last revision
>> built. Polling will not update that correctly.
>>
>> 4. Polling for Git can be a mess due to how git can be configured to
>> built multiple branches in one job.
>>
>> So the decision is that polling is disabled on multibranch leaf jobs (if
>> you have a case where it is not disabled... congratulations you have found
>> a bug... likely not the one you thought, but a bug... polling should not
>> happen for leaf nodes of a multibranch project)
>>
>> You want to have indexing at a frequency such that if an event was lost,
>> you cannot go more than this long without the build (typically somewhere
>> between 4-24h for most people)
>>
>> You want event support to trigger the builds, not polling
>>
>>   }

 --
 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/4dff0257-8170-4976-8998-13f20023e528%40googlegroups.com
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>> --
>>> Sent from my phone
>>>
>> --
>> 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/c4d93f77-80ec-4f7c-a783-0947fdb3af5c%40googlegroups.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%2BnPnMyVLmYQC21TDSszz9FG-4oF15GvmLzR6O7-nnN-%3DmHdPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Dallas Clement
Thanks for the info Stephen.  I was not aware that the pollSCM trigger was 
ignored in a multibranch pipeline.  Something is polling for changes.  When 
someone pushes a change, a build gets triggered shortly thereafter.  I do 
agree with you that polling is evil and not scalable with many branches.  I 
would like to make things event driven.  Will need to investigate how with 
git.


On Tuesday, August 29, 2017 at 5:33:42 PM UTC-5, Stephen Connolly wrote:
>
>
> On Tue 29 Aug 2017 at 23:21, Stephen Connolly  > wrote:
>
>>
>> On Tue 29 Aug 2017 at 22:35, Dallas Clement > > wrote:
>>
>>> If I click on the "Scan Multibranch Pipeline Now" link in the Jenkins 
>>> dashboard, it will kick off a build immediately even when there were no 
>>> changes.  I have my declarative Jenkinsfile configured to poll for SCM 
>>> changes.  I only want builds to be triggered from SCM changes.  Any idea 
>>> how I can suppress this behavior?
>>>
>>> pipeline {
>>>   agent any
>>>   options {
>>> disableConcurrentBuilds()
>>> timestamps()
>>> buildDiscarder(logRotator(numToKeepStr: '8'))
>>>   }
>>>   triggers {
>>> // Poll every 5 minutes for new changes
>>> pollSCM 'H/5 * * * *'
>>>
>>
>> You do know in multibranch that this poll is ignored?
>>
>
> To explain why the design is this way:
>
> 1. Polling is evil
>
> 2. In most SCM implementations the poll for each branch is effectively a 
> redundant check, so if you have 10 branches all polling then Jenkins will 
> end up doing the *exact same* operation in a parallel batch of 5 (default 
> polling pool size) and follow up with another batch of 5... hammering the 
> SCM where one request would provide the answer for all 10 branches.
>
> 3. Branch API needs to maintain its own state as to the last revision 
> built. Polling will not update that correctly.
>
> 4. Polling for Git can be a mess due to how git can be configured to built 
> multiple branches in one job.
>
> So the decision is that polling is disabled on multibranch leaf jobs (if 
> you have a case where it is not disabled... congratulations you have found 
> a bug... likely not the one you thought, but a bug... polling should not 
> happen for leaf nodes of a multibranch project)
>
> You want to have indexing at a frequency such that if an event was lost, 
> you cannot go more than this long without the build (typically somewhere 
> between 4-24h for most people)
>
> You want event support to trigger the builds, not polling
>
>
>>   }
>>>
>>> -- 
>>> 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/4dff0257-8170-4976-8998-13f20023e528%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> Sent from my phone
>>
> -- 
> 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/c4d93f77-80ec-4f7c-a783-0947fdb3af5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Stephen Connolly
On Tue 29 Aug 2017 at 22:35, Dallas Clement 
wrote:

> If I click on the "Scan Multibranch Pipeline Now" link in the Jenkins
> dashboard, it will kick off a build immediately even when there were no
> changes.  I have my declarative Jenkinsfile configured to poll for SCM
> changes.  I only want builds to be triggered from SCM changes.  Any idea
> how I can suppress this behavior?
>
> pipeline {
>   agent any
>   options {
> disableConcurrentBuilds()
> timestamps()
> buildDiscarder(logRotator(numToKeepStr: '8'))
>   }
>   triggers {
> // Poll every 5 minutes for new changes
> pollSCM 'H/5 * * * *'
>

You do know in multibranch that this poll is ignored?

  }
>
> --
> 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/4dff0257-8170-4976-8998-13f20023e528%40googlegroups.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%2BnPnMztDW4UUTGdQVWQ4jx5u-XciEdf7GoS4-XZosQ03rABCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Parameterized Remote Trigger fails with NullPointerException

2017-08-29 Thread Matt Evans
I have this same issue.  I have three servers setup.  One with Jenkins 
1.609.3, 1.642.4, and 2.60.3.  I can use this plugin on my 1.6 - 1.6 
instances but not 1.6 - 2.0.  Wonder if there is an issue with jenkins 2.0? 
 I also noticed that on my 1.6 > 1.6 instances it returns a 500 if I use 
choice parameters instead of just STRING.  I'm just going to curl the job 
to start it and check the status 
using 
http://jdpgrailsdev.github.io/blog/2015/01/13/jenkins_check_job_status.html

On Tuesday, July 5, 2016 at 12:22:11 PM UTC-7, Jacqueline Taing wrote:
>
> I am trying to use Parameterized Remote Trigger Plugin 
> ,
>  
> but I keep getting error when it tries to launch job:
>
> Remote Jenkins server returned empty response or invalid JSON - but we can 
> still proceed with the remote build.
>
> ERROR: Build step failed with exception
>
> java.lang.NullPointerException 
> 
>
>   at 
> org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.isRemoteJobParameterized(RemoteBuildConfiguration.java:1167)
>  
> 
>
>   at 
> org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:488)
>  
> 
>
>   at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 
> 
>
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764)
>  
> 
>
>   at hudson.model.Build$BuildExecution.build(Build.java:205) 
> 
>
>   at hudson.model.Build$BuildExecution.doRun(Build.java:162) 
> 
>
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) 
> 
>
>   at hudson.model.Run.execute(Run.java:1744) 
> 
>
>   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 
> 
>
>   at hudson.model.ResourceController.execute(ResourceController.java:98) 
> 
>
>   at hudson.model.Executor.run(Executor.java:374) 
> 
>
> Build step 'Trigger a remote parameterized job' marked build as failure
>
> Finished: FAILURE
>
>
> Has anyone been able to successfully trigger a remote job with this plugin?  
> My remote host configuration uses the Credential plugin with 
> username/password specified.
>
>
> Thanks,
>
> -jacqui
>
>

-- 
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/7fe75c7f-223c-400b-99c8-d69b780c875f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


"Scan Multibranch Pipeline Now" triggers immediate build

2017-08-29 Thread Dallas Clement
If I click on the "Scan Multibranch Pipeline Now" link in the Jenkins 
dashboard, it will kick off a build immediately even when there were no 
changes.  I have my declarative Jenkinsfile configured to poll for SCM 
changes.  I only want builds to be triggered from SCM changes.  Any idea 
how I can suppress this behavior?

pipeline {
  agent any
  options {
disableConcurrentBuilds()
timestamps()
buildDiscarder(logRotator(numToKeepStr: '8'))
  }
  triggers {
// Poll every 5 minutes for new changes
pollSCM 'H/5 * * * *'
  }

-- 
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/4dff0257-8170-4976-8998-13f20023e528%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: jenkins docker image create first admin user

2017-08-29 Thread Li Z
Thanks Jacob! It is exactly what I am looking for. 
Found a link with code 
too https://gist.github.com/hayderimran7/50cb1244cc1e856873a4

On Tuesday, August 29, 2017 at 11:14:18 AM UTC-7, Jacob Larsen wrote:
>
> Yes. Put this snippet into a .groovy file, e.g. usercreate.groovy:
>
> instance = Jenkins.getInstance()
>
> def hudsonRealm = new hudson.security.HudsonPrivateSecurityRealm(false)
> hudsonRealm.createAccount("admin","Password1234")
> instance.setSecurityRealm(hudsonRealm)
> def strategy = new hudson.security.GlobalMatrixAuthorizationStrategy()
> strategy.add(Jenkins.ADMINISTER, "admin")
> instance.setAuthorizationStrategy(strategy)
> instance.save()
>
> Put the usercreate.groovy file next to your Dockerfile. Then add this line 
> to your Dockerfile:
>
> COPY usercreate.groovy /usr/share/jenkins/ref/init.groovy.d/
>
> When Jenkins starts, a user with name "admin" will then be created with 
> password "Password1234". Note the plaintext password, I'm not sure how to 
> use a hash for this one.
>
> This code will run every time Jenkins starts, so you may need to add a 
> guard that checks if the admin user exists and only run the code if it does 
> not exists.
>
> /Jacob
>
> On 2017-08-29 18:57, Li Z wrote:
>
> I am trying to build a Jenkins docker image from jenkins/jenkins:2.67. Is 
> there a way to create the first admin user with dockerfile? 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-use...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/3927c485-df73-4fb0-82b0-70363846f432%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/dd19f905-4a26-4fd0-8f75-1961f15db1ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass variable from 1 job to other job with seperate jenkinsfiles

2017-08-29 Thread Michael Pailloncy
Hey. IIUC, this should be possible. Can you show us the content of your
Jenkinsfiles please ?

2017-08-29 21:07 GMT+02:00 Werner Dijkerman :

> Hi,
>
> I have an issue and I don't get it to work.
>
> I have 2 Jenkinsfiles and thus 2 jobs. With the first Jenkinsfile I set an
> variable by reading a specific file, in this case: def commit_id =
> readFile('.git/commit-id').trim()
> Now I need to pass this 'commit_id' variable from the 1st Jenkinsfile/job
> to the 2nd Jenkinsfile/job. The 2nd job will already be triggered once the
> 1st job is completed successfully.
>
> I Already have installed the 'Parameterized Trigger plugin' plugin and
> added a "string" parameter (Name: commid_id, value: {commit_id}) but this
> isn't working.
>
> What am I doing wrong? Any suggestions?
>
> Kind regards,
> Werner
>
> --
> 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/b3b7aa55-f9e4-45dd-abb8-05dd213b5b13%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/CAPO77c0-eGLAmY3pT0dPk43qpq8LcWLsjhoNthGXs_k%2BrttjEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: I need your help! Please tell me how you and/or your team uses Jenkins

2017-08-29 Thread niristotle okram
i think, first MS should roll out an official plugin to integrate TFS
(on-prem) with jenkins. There are certain things that doesn't work with
jenkins tfs plugin with on-prem tfs.

* The major issue being: build status indicator on TFS (branch/PR )
* If using TFS to use build queuing on Jenkins, there is no service hook to
trigger PR


On Tue, Aug 29, 2017 at 9:43 AM, Nicole [MSFT] 
wrote:

> My name is Nicole and I work on the engineering team for Developer Tools
> at Microsoft. I'm working on improving our support for Jenkins in our tools
> and in Azure and I need your help! I'm trying to understand what are the
> most time-consuming and/or painful tasks when using Jenkins and whether or
> not you've considered using Jenkins in the cloud.
>
> Please take just a few, short minutes and tell me about your Jenkins
> usage: *Start Survey* 
>
> Thank you so much for your time and please feel free to reach out with any
> questions you might have at nicole.br...@microsoft.com.
>
> Thanks,
> Nicole
>
> --
> 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/9649d547-3df6-4cda-824b-c0fb121d3046%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/CAPzcO4hpU-dGzKO7YJxgNLuO6N%2BDh0fVRkTazEq04gMfL_b1dQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Slave To Master Access Control | security-144

2017-08-29 Thread Guillaume Karcher
Hi Guys,

I'm Guillaume, part of the QA team of ExpertSystem Group, a software 
development Company specialized in Semantics / Text Analysis (QA is in charge 
of the building mechanism here).

It's been a long time now, that we're still having the exception below at 
console output of the compilation.
It's not preventing the build process, but it's a bit annoying whentrying to 
follow specific steps like unit tests results.
We're working with Jenkins 2.19.4, and tryed all the workarounds in the 
corresponding page (http://jenkins-ci.org/security-144).
I know it's not the last version, and we planned to upgrade the platform. All 
the plugins are up to date.

The environment is such as :
Master : openSUSE 11.4 (x86_64)
Slave : there is one slave, that is powered off ( it's an openSUSE 11.4 
(x86_64) too )

Additionaly, we made the same architecture with 2 windows servers, 2008 R2 x64 
(Standard) version, Master + Slave (powered off), and the output is fine (the 
trace is not present)


So, maybe there's something more to do on Linux servers...
Do you think you can help ?


Thanks a lot for your time and answer.

Best Regards
GK


Here is the trace :


[JENKINS] Archiving disabled

java.lang.SecurityException: agent may not stat 
/home/sqa/dev/CompilCheck-master/com.temis.luxid$IDCClientTools/builds/17408/archive

See http://jenkins-ci.org/security-144 for more details

  at jenkins.SoloFilePathFilter.noFalse(SoloFilePathFilter.java:31)

  at jenkins.SoloFilePathFilter.stat(SoloFilePathFilter.java:67)

  at hudson.FilePath.stating(FilePath.java:2901)

  at hudson.FilePath.access$1400(FilePath.java:195)

  at hudson.FilePath$20.invoke(FilePath.java:1467)

  at hudson.FilePath$20.invoke(FilePath.java:1464)

  at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2772)

  at hudson.remoting.UserRequest.perform(UserRequest.java:153)

  at hudson.remoting.UserRequest.perform(UserRequest.java:50)

  at hudson.remoting.Request$2.run(Request.java:332)

  at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)

  at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18)

  at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)

  at 
jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)

  at java.util.concurrent.FutureTask.run(FutureTask.java:266)

  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

  at java.lang.Thread.run(Thread.java:745)

  at ..remote call to channel(Native Method)

  at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1433)

  at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)

  at hudson.remoting.Channel.call(Channel.java:797)

  at hudson.FilePath.act(FilePath.java:1007)

  at hudson.FilePath.act(FilePath.java:996)

  at hudson.FilePath.exists(FilePath.java:1464)

  at 
org.jenkinsci.plugins.DependencyCheck.maven.MavenArtifactRecorder.postBuild(MavenArtifactRecorder.java:46)

  at 
hudson.maven.Maven3Builder$MavenExecutionListener.sessionEnded(Maven3Builder.java:460)

  at hudson.maven.Maven3Builder$JenkinsEventSpy.onEvent(Maven3Builder.java:276)

  at 
org.apache.maven.eventspy.internal.EventSpyDispatcher.onEvent(EventSpyDispatcher.java:104)

  at 
org.apache.maven.eventspy.internal.EventSpyExecutionListener.sessionEnded(EventSpyExecutionListener.java:61)

  at 
org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:64)

  at 
org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)

  at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:137)

  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

  at 
org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:129)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:498)

  at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)

  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)

  at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:498)

  at 

Pass variable from 1 job to other job with seperate jenkinsfiles

2017-08-29 Thread Werner Dijkerman
Hi,

I have an issue and I don't get it to work.

I have 2 Jenkinsfiles and thus 2 jobs. With the first Jenkinsfile I set an 
variable by reading a specific file, in this case: def commit_id = 
readFile('.git/commit-id').trim()
Now I need to pass this 'commit_id' variable from the 1st Jenkinsfile/job 
to the 2nd Jenkinsfile/job. The 2nd job will already be triggered once the 
1st job is completed successfully.

I Already have installed the 'Parameterized Trigger plugin' plugin and 
added a "string" parameter (Name: commid_id, value: {commit_id}) but this 
isn't working.

What am I doing wrong? Any suggestions?

Kind regards,
Werner

-- 
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/b3b7aa55-f9e4-45dd-abb8-05dd213b5b13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Publish over CIFS configuration

2017-08-29 Thread Ted Winslow
Bump.  Anybody?

On Saturday, August 26, 2017 at 12:24:05 AM UTC-4, Ted Winslow wrote:
>
> I don't seem to be understanding the configuration of the Publish over 
> CIFS plugin.
>
> I installed the plugin and am trying to add a CIFS node to no avail.  It 
> is showing every field as invalid as I look at the configuration page, 
> which I am guessing is not relevant.  I am trying to publish to another 
> server and I even went so far as to mount the drive locally to verify 
> everything was working.  Unfortunately, when I click "Test Configuration" I 
> get this error:
>
> Cannot read share (or directory on share)
>
> jenkins.plugins.publish_over.BapPublisherException: Exception when testing 
> config. URL [smb://192.168.1.201/shared/], Message: [Failed to connect: 
> 0.0.0.0<00>/192.168.1.201]
>
>
> Any idea what I'm doing wrong?
>
> I can tell you that it is a guest share with public Read/Write that I was 
> able to mount as guest in fstab (but it required the ver=3 flag).  I didn't 
> enter any username or password for that reason.  I want to copy my builds 
> over to my deployment server so it can deploy the builds after they 
> complete.
>
>
> 
>
>

-- 
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/11e8057a-1082-4adf-a0ac-d44cd5e91f70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Declarative pipeline post condition 'aborted' not working.

2017-08-29 Thread Dallas Clement
If I manually abort a build, the 'always' and 'failure' post conditions get 
triggered, but never the 'aborted' post condition.  I would wish for 
'aborted' to work so that I can distinguish between an aborted build and a 
truly failed build.  I only want to send email notifications for the latter 
case.  Anybody know how to identify an aborted build?

-- 
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/f9f32943-cb15-4764-a8fa-537af0fe14e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Creating Jenkins slaves using kubernetes-plugin that restart on node failures

2017-08-29 Thread Cooper99
Hi Carlos,

Thanks for the prompt reply.
What I have seen is that when the node is deleted the slave/pod doesn't 
crash, it is just deleted.  Then the Jenkins master just sits there waiting 
for the slave to return with the following output:

Cannot contact default-6b0e4a2d33a: java.io.IOException: remote file operation 
failed: /home/jenkins/workspace/installer/Run_Installer at 
hudson.remoting.Channel@1925c5c0:JNLP4-connect connection from 
192.168.3.18/192.168.3.18:46497: hudson.remoting.ChannelClosedException: 
channel is already closed


Art.


On Tuesday, August 29, 2017 at 11:50:08 AM UTC-4, Carlos Sanchez wrote:
>
> It doesn't restart the agents because as soon as the agent crashes the 
> build will fail. So there is no point in restarting them
>
> On Tue, Aug 29, 2017 at 5:30 PM, Cooper99  
> wrote:
>
>> I am new to Jenkins so this may be a simple question.  I am using the 
>> kubernetes-plugin to dynamically create Jenkins slaves. The one thing I 
>> have noticed is that when using the plugin to create the slaves is if a 
>> node gets deleted the slave pod is running on, the slave pod is not 
>> restarted.  I am not sure if this is a configuration error on my part or 
>> just the way it is.  It seems that based on this article: 
>> https://www.infoq.com/articles/scaling-docker-kubernetes-v1 that having 
>> the slaves restart when a node goes down would always be desired.  
>> I am using Jenkins 2.66 and kubernetes-plugin 0.11 on Kubernetes 1.6.2. 
>>
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/4a04bd53-d927-406a-b8ba-6e346a5ece9b%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/3dd6d23e-065c-47f9-b1ee-c92cd507ed29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: jenkins docker image create first admin user

2017-08-29 Thread Jacob Larsen

Yes. Put this snippet into a .groovy file, e.g. usercreate.groovy:

instance = Jenkins.getInstance()

def hudsonRealm = new hudson.security.HudsonPrivateSecurityRealm(false)
hudsonRealm.createAccount("admin","Password1234")
instance.setSecurityRealm(hudsonRealm)
def strategy = new hudson.security.GlobalMatrixAuthorizationStrategy()
strategy.add(Jenkins.ADMINISTER, "admin")
instance.setAuthorizationStrategy(strategy)
instance.save()

Put the usercreate.groovy file next to your Dockerfile. Then add this 
line to your Dockerfile:


COPY usercreate.groovy /usr/share/jenkins/ref/init.groovy.d/

When Jenkins starts, a user with name "admin" will then be created with 
password "Password1234". Note the plaintext password, I'm not sure how 
to use a hash for this one.


This code will run every time Jenkins starts, so you may need to add a 
guard that checks if the admin user exists and only run the code if it 
does not exists.


/Jacob


On 2017-08-29 18:57, Li Z wrote:
I am trying to build a Jenkins docker image from jenkins/jenkins:2.67. 
Is there a way to create the first admin user with dockerfile? 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/3927c485-df73-4fb0-82b0-70363846f432%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/faa79228-2f64-7ba6-7114-fcb0bf001def%40larsen.net.
For more options, visit https://groups.google.com/d/optout.


FYI: Declarative 1.2 beta available in experimental update center

2017-08-29 Thread Andrew Bayer
Just a heads up - Declarative Pipelines has a beta for the upcoming 1.2
release available in the experimental update center now, 1.2-beta-4. You
can learn about what's in this release at
https://wiki.jenkins.io/display/JENKINS/Pipeline+Model+Definition+Plugin,
but the main changes are the additional of parallel stage syntax and a new
parser on the backend that solves a bunch of variable/function-related
problems, particularly in environment and when expressions.

The plan is to release Declarative 1.2 in a couple weeks, but we'd love to
get your feedback on any issues you might find with the beta - I don't
recommend running the beta in production unless you're particularly brave,
but the actual 1.2 release will be completely compatible with the beta, and
I think it's very close to what will actually get released.

A.

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


jenkins docker image create first admin user

2017-08-29 Thread Li Z
I am trying to build a Jenkins docker image from jenkins/jenkins:2.67. Is 
there a way to create the first admin user with dockerfile? 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/3927c485-df73-4fb0-82b0-70363846f432%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins declarative pipeline dynamic paramters

2017-08-29 Thread Slide
Could you do something like this?

ENVS="dev1|dev2|dev"


pipeline {
  parameters {
choice(choices: "${env.ENVS.replace('|', '\n')}", description: 'What
Environment?', name: 'env')
  }
}

On Tue, Aug 29, 2017 at 9:07 AM Mike Zupan  wrote:

> I have a use case where we need to list environments to run a pipeline
> over and we have multiple jenkins servers that handle different
> environments.
>
> jenkins1 handles dev1 dev2 dev3
> jenkins2 handles prod1 prod2 prod3
>
> I want to be able to setup a pipeline that sources different envs and
> shows them as a choice field.
>
> Try one was setting a global env var in the jenkins config like
>
> ENVS="dev1\ndev2\ndev3"
>
> when I did
>
> pipeline {
> parameters {
>   choice(choices: "${env.ENVS}", description: 'What Environment?',
> name: 'env')
> }
> }
>
> It removed the \ so it shows it as a single choice as dev1ndev2ndev3
>
> I'd also be open to having it read a file outside the workspace where
> ansible can put like /etc/env_list and the pipeline can read that file in
> but I wasn't haven't any luck with that.
>
> I'm open to trying anything to make it work!
>
> 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/8275681d-af79-41bb-b852-f0008e3fc0af%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/CAPiUgVe36WiABk0hSxNwrWgc%2BH486ZRWX%2BYoLztb7OgOFV8d0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins declarative pipeline dynamic paramters

2017-08-29 Thread Mike Zupan
I have a use case where we need to list environments to run a pipeline over 
and we have multiple jenkins servers that handle different environments. 

jenkins1 handles dev1 dev2 dev3
jenkins2 handles prod1 prod2 prod3

I want to be able to setup a pipeline that sources different envs and shows 
them as a choice field. 

Try one was setting a global env var in the jenkins config like

ENVS="dev1\ndev2\ndev3"

when I did

pipeline {
parameters {
  choice(choices: "${env.ENVS}", description: 'What Environment?', 
name: 'env')
}
}

It removed the \ so it shows it as a single choice as dev1ndev2ndev3

I'd also be open to having it read a file outside the workspace where 
ansible can put like /etc/env_list and the pipeline can read that file in 
but I wasn't haven't any luck with that. 

I'm open to trying anything to make it work!

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/8275681d-af79-41bb-b852-f0008e3fc0af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Creating Jenkins slaves using kubernetes-plugin that restart on node failures

2017-08-29 Thread Carlos Sanchez
It doesn't restart the agents because as soon as the agent crashes the
build will fail. So there is no point in restarting them

On Tue, Aug 29, 2017 at 5:30 PM, Cooper99  wrote:

> I am new to Jenkins so this may be a simple question.  I am using the
> kubernetes-plugin to dynamically create Jenkins slaves. The one thing I
> have noticed is that when using the plugin to create the slaves is if a
> node gets deleted the slave pod is running on, the slave pod is not
> restarted.  I am not sure if this is a configuration error on my part or
> just the way it is.  It seems that based on this article:
> https://www.infoq.com/articles/scaling-docker-kubernetes-v1 that having
> the slaves restart when a node goes down would always be desired.
> I am using Jenkins 2.66 and kubernetes-plugin 0.11 on Kubernetes 1.6.2.
>
> 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/4a04bd53-d927-406a-b8ba-6e346a5ece9b%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/CALHFn6M-wa-WkDMU%3D_v4Fk0p3eKDKij%2BWXikvUOtRVXFNkk%2B_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using CSS in html published on Jenkins build

2017-08-29 Thread Hung L.
Thanks for your reply.  I have problems accessing this repository through 
git.  When I clone it, it says I'm cloning an empty repository although I 
do see a readme.txt in it.  Any ideas?

On Tuesday, August 29, 2017 at 10:42:57 AM UTC-4, Reinhold Fuereder wrote:
>
> Hi Hung,
>
>  
>
> You can use so-called Jenkins User Content: see 
> https://wiki.jenkins-ci.org/display/JENKINS/User+Content for details.
>
>  
>
> E.g. I am using that for web resources in HTML Emails sent from Jenkins: I 
> am provisioning/deploying "file.png" via Ansible to " folder, typically '/var/lib/jenkins'>/userContent". It is then accessible 
> via: https:///userContent/diff.png
>
>  
>
> HTH Reinhold
>
>  
>
>  
>
> *Von:* jenkins...@googlegroups.com  [mailto:
> jenkins...@googlegroups.com ] *Im Auftrag von *Hung L.
> *Gesendet:* Dienstag, 29. August 2017 15:54
> *An:* Jenkins Users
> *Betreff:* Using CSS in html published on Jenkins build
>
>  
>
> Hi,
>
> I have a question on using CSS styles in html file that is being published 
> on Jenkins build.  After each build, we publish a summary html file on 
> Jenkins dashboard using the "Publish HTML Reports" plugin.  Our HTML has 
> reference to some CSS.  Right now, we're using inline CSS but Jenkins does 
> not allow inline CSS by default, see 
> https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy. 
>  I am able to override the default settings to allow the inline CSS, but 
> I'm not sure if that's the right thing to do.  
>
>  
>
> Right now, I'm looking for an alternative.  I know Jenkins has some 
> built-in CSS files which I hope to make a reference from our html. 
>  However, I don't know how to do it as they are referenced by a random link 
> (I think), for example:
>
>  type="text/css" />  where xx is random.  
>
>  
>
> An another alternative is to publish my own CSS file somewhere on Jenkins 
> server and make a reference to that.  However, I'm not sure how to do that.
>
>  
>
> Any suggestions?  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-use...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/2b892ec2-9f0f-4866-855c-d6fc546a8ad4%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/71af9a8d-8bc0-4a5d-9726-ba7474302cf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Creating Jenkins slaves using kubernetes-plugin that restart on node failures

2017-08-29 Thread Cooper99
I am new to Jenkins so this may be a simple question.  I am using the 
kubernetes-plugin to dynamically create Jenkins slaves. The one thing I 
have noticed is that when using the plugin to create the slaves is if a 
node gets deleted the slave pod is running on, the slave pod is not 
restarted.  I am not sure if this is a configuration error on my part or 
just the way it is.  It seems that based on this 
article: https://www.infoq.com/articles/scaling-docker-kubernetes-v1 that 
having the slaves restart when a node goes down would always be desired.  
I am using Jenkins 2.66 and kubernetes-plugin 0.11 on Kubernetes 1.6.2. 

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/4a04bd53-d927-406a-b8ba-6e346a5ece9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


I need your help! Please tell me how you and/or your team uses Jenkins

2017-08-29 Thread Nicole [MSFT]
My name is Nicole and I work on the engineering team for Developer Tools at 
Microsoft. I'm working on improving our support for Jenkins in our tools 
and in Azure and I need your help! I'm trying to understand what are the 
most time-consuming and/or painful tasks when using Jenkins and whether or 
not you've considered using Jenkins in the cloud.

Please take just a few, short minutes and tell me about your Jenkins usage: 
*Start 
Survey* 

Thank you so much for your time and please feel free to reach out with any 
questions you might have at nicole.br...@microsoft.com.

Thanks,
Nicole

-- 
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/9649d547-3df6-4cda-824b-c0fb121d3046%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scoverage reports

2017-08-29 Thread nviorres
Solved by using the following step definition on the respective step:

step([$class: 'ScoveragePublisher', reportDir: 'target', reportFile: 
'scoverage.xml'])

Also, in scoverage maven configuration, i have set the following:


org.scoverage
scoverage-maven-plugin
${scoverage.plugin.version}

${scala-library.version}
true

${project.build.directory}/Scoverage_Report/



On Tuesday, August 29, 2017 at 11:07:43 AM UTC+3, nvio...@atypon.com wrote:
>
> Hi Gaston,
>
> Any luck with this? I am facing the same problem.
>
> Thank you.
>
> On Thursday, January 19, 2017 at 1:12:50 AM UTC+2, Gastón Tonietti wrote:
>>
>> Hi Daniel,
>>
>> Indeed I have plenty of security errors on the console when trying to 
>> load the html report.
>> But TBH I'd be more interested in setting up the scoverage plugin as it 
>> generates a trend graph too.
>>
>> Are you aware of the syntax I should use in my Jenkinsfile to enable it?
>>
>> Thank you!
>> Gaston.
>>
>> On Thursday, January 19, 2017 at 12:16:11 AM UTC+11, Daniel Beck wrote:
>>>
>>>
>>> > On 18.01.2017, at 01:39, Gastón Tonietti  
>>> wrote: 
>>> > 
>>> > I tried with publishHTML, the report seems to be there in the build 
>>> but when I open it only a couple of blank frames are shown. 
>>>
>>> Check your browser's error console. Maybe this is SECURITY-95? 
>>>
>>>
>>> https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy
>>>  
>>>
>>>

-- 
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/c5e3cd19-63f5-4f28-8a8a-2440f446464c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AW: Using CSS in html published on Jenkins build

2017-08-29 Thread Reinhold Fuereder
Hi Hung,

You can use so-called Jenkins User Content: see 
https://wiki.jenkins-ci.org/display/JENKINS/User+Content for details.

E.g. I am using that for web resources in HTML Emails sent from Jenkins: I am 
provisioning/deploying "file.png" via Ansible to "/userContent". It is then accessible via: 
https:///userContent/diff.png

HTH Reinhold


Von: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
Im Auftrag von Hung L.
Gesendet: Dienstag, 29. August 2017 15:54
An: Jenkins Users
Betreff: Using CSS in html published on Jenkins build

Hi,
I have a question on using CSS styles in html file that is being published on 
Jenkins build.  After each build, we publish a summary html file on Jenkins 
dashboard using the "Publish HTML Reports" plugin.  Our HTML has reference to 
some CSS.  Right now, we're using inline CSS but Jenkins does not allow inline 
CSS by default, see 
https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy.  I 
am able to override the default settings to allow the inline CSS, but I'm not 
sure if that's the right thing to do.

Right now, I'm looking for an alternative.  I know Jenkins has some built-in 
CSS files which I hope to make a reference from our html.  However, I don't 
know how to do it as they are referenced by a random link (I think), for 
example:
  where xx is random.

An another alternative is to publish my own CSS file somewhere on Jenkins 
server and make a reference to that.  However, I'm not sure how to do that.

Any suggestions?  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/2b892ec2-9f0f-4866-855c-d6fc546a8ad4%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/C3D41C0B1D5991438F1A43F586F4B47F5C727FC0%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


Need REST API to fetch data from Jenkins Plugin

2017-08-29 Thread Gaurav Rai
I'm working on getting data from Jenkins using Remote Access API.
I'm able to get Jenkins Build history using it. But in one of case, I need 
to get data from Jenkins Plugin "summary_report"

Is there a way to get data from plugins in Jenkins using Rest?

-- 
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/9f942cc0-c85e-45d6-8212-70544170de0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Using CSS in html published on Jenkins build

2017-08-29 Thread Hung L.
Hi,
I have a question on using CSS styles in html file that is being published 
on Jenkins build.  After each build, we publish a summary html file on 
Jenkins dashboard using the "Publish HTML Reports" plugin.  Our HTML has 
reference to some CSS.  Right now, we're using inline CSS but Jenkins does 
not allow inline CSS by default, 
see 
https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy. 
 I am able to override the default settings to allow the inline CSS, but 
I'm not sure if that's the right thing to do.  

Right now, I'm looking for an alternative.  I know Jenkins has some 
built-in CSS files which I hope to make a reference from our html. 
 However, I don't know how to do it as they are referenced by a random link 
(I think), for example:
  where xx is random.  

An another alternative is to publish my own CSS file somewhere on Jenkins 
server and make a reference to that.  However, I'm not sure how to do that.

Any suggestions?  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/2b892ec2-9f0f-4866-855c-d6fc546a8ad4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CVS Authentication failed: null

2017-08-29 Thread Ganesh MN
Hi,

I am configuring jenkins job to checkout code from CVS using cvs-plugin.
But, It is looking for private key locations. I can generate private key on 
my computer. But, I don't have control on CVS server. So, I cant store 
public key in server.
So, Please let me know how we can checkout code from CVS just by using user 
credentials. I mean is it possible to skip SSH authentication?

log message:

*17:14:58* Building in workspace 
C:\Users\AB54631\.jenkins\workspace\Test_Sonar_Jenkins*17:14:58* Using locally 
configured password for connection to 
:ext:ab54...@lxdenvmap290.qintra.com:/opt/scm/cvs/home/repository*17:14:59* cvs 
checkout -P -D 29 Aug 2017 17:14:58 +0530 -d qoaordering qoaordering *17:14:59* 
ERROR: CVS Authentication failed: null*17:14:59* 
org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection 
failed.*17:14:59*  at 
org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141)*17:14:59*
   at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374)*17:14:59*   at 
java.lang.Thread.run(Thread.java:745)*17:14:59* Caused by: 
com.jcraft.jsch.JSchException: java.io.FileNotFoundException: 
C:\Users\AB54631\.ssh\id_rsa (The system cannot find the path 
specified)*17:14:59*  at 
com.jcraft.jsch.KeyPair.load(KeyPair.java:524)*17:14:59* at 
com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40)*17:14:59* at 
com.jcraft.jsch.JSch.addIdentity(JSch.java:389)*17:14:59*at 
com.jcraft.jsch.JSch.addIdentity(JSch.java:370)*17:14:59*at 
org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:135)*17:14:59*
   ... 2 more*17:14:59* Caused by: java.io.FileNotFoundException: 
C:\Users\AB54631\.ssh\id_rsa (The system cannot find the path 
specified)*17:14:59*   at java.io.FileInputStream.open0(Native 
Method)*17:14:59*   at 
java.io.FileInputStream.open(FileInputStream.java:195)*17:14:59* at 
java.io.FileInputStream.(FileInputStream.java:138)*17:14:59*   at 
java.io.FileInputStream.(FileInputStream.java:93)*17:14:59*at 
com.jcraft.jsch.Util.fromFile(Util.java:492)*17:14:59*   at 
com.jcraft.jsch.KeyPair.load(KeyPair.java:521)*17:14:59* ... 6 
more*17:14:59* ERROR: Cvs task failed*17:14:59* Finished: FAILURE





Thanks in advance,

Ganesh

-- 
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/c39a5d49-c3de-4e00-919c-d092c09d5804%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [EXTERNAL] - Unable to get login page

2017-08-29 Thread phanikumar
I have tried removing the plugin and found that the resource is being holded
by Java even after Jenkins is not in running state. I forcefully killed the
process and restarted Jenkins which worked fine for me. Now, I am able to
use my plugin.



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Unable-to-get-login-page-tp4901614p4901652.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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/1504010409768-4901652.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Shiran
Thank you both!

On Tuesday, August 29, 2017 at 5:06:36 PM UTC+3, Mark Waite wrote:
>
> I use the groovy post-build plugin very often in my pipeline-based 
> regression testing.  It works great in pipeline.
>
> You can read the details in my lts-with-plugins repository 
> , 
> including a "logContains" function 
> 
>  
> which uses manager.
>
> Mark Waite
>
> On Tue, Aug 29, 2017 at 4:00 AM Daniel Beck  > wrote:
>
>>
>> > On 29. Aug 2017, at 03:31, Shiran  
>> wrote:
>> >
>> > If not, than should I import any package for this? something?
>>
>> The plugin has supported Pipeline since 2.3 in 2015 (when it was still 
>> called "workflow"). The 'manager' variable exists there as well.
>>
>> --
>> 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/950EDB1F-A5BA-4469-9D38-19A841280E27%40beckweb.net
>> .
>> 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/8757853a-4276-4a88-a367-7e6033f63a6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Mark Waite
I use the groovy post-build plugin very often in my pipeline-based
regression testing.  It works great in pipeline.

You can read the details in my lts-with-plugins repository
, including
a "logContains" function

which uses manager.

Mark Waite

On Tue, Aug 29, 2017 at 4:00 AM Daniel Beck  wrote:

>
> > On 29. Aug 2017, at 03:31, Shiran  wrote:
> >
> > If not, than should I import any package for this? something?
>
> The plugin has supported Pipeline since 2.3 in 2015 (when it was still
> called "workflow"). The 'manager' variable exists there as well.
>
> --
> 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/950EDB1F-A5BA-4469-9D38-19A841280E27%40beckweb.net
> .
> 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/CAO49JtGxtk8FNO5JGj16Janabsbv%2BJBrXjRjta6XKcDxo7iEBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


AW: AW: Blue Ocean Pipeline Activity View: empty column 'COMMIT'

2017-08-29 Thread Reinhold Fuereder
Thanks for your response, Baptiste!

That sounds reasonably.

=> https://issues.jenkins-ci.org/browse/JENKINS-46521

Regards,
Reinhold

-- 
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/C3D41C0B1D5991438F1A43F586F4B47F5C727F8C%40TIGER2010.xortex.local.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Daniel Beck

> On 29. Aug 2017, at 03:31, Shiran  wrote:
> 
> If not, than should I import any package for this? something?

The plugin has supported Pipeline since 2.3 in 2015 (when it was still called 
"workflow"). The 'manager' variable exists there as well.

-- 
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/950EDB1F-A5BA-4469-9D38-19A841280E27%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Shiran
As far as I understand, 'manager' is available only in groovy 
postbuild plugin.
If not, than should I import any package for this? something?

On Tuesday, August 29, 2017 at 12:48:22 PM UTC+3, Daniel Beck wrote:
>
>
> > On 29. Aug 2017, at 01:20, Shiran  
> wrote: 
> > 
> > when this plugin is not supported? 
>
> Why would it not be? 
>
>

-- 
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/44f86e04-1e29-4a00-8177-0e1fe2677a82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Daniel Beck

> On 29. Aug 2017, at 01:20, Shiran  wrote:
> 
> when this plugin is not supported?

Why would it not be?

-- 
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/6F766D97-A6D7-4E09-982E-5FF8FFAE3F92%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Scripted pipeline - how to run groovy post build script

2017-08-29 Thread Shiran
And another question- I use "manager" object in groovy post build plugin, 
how can I use it in pipeline when this plugin is not supported?

-- 
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/7b1174ba-ed89-4148-90d5-5b6403279217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multijob out of memory issues

2017-08-29 Thread Shashank Bhargav
We are not using GIT plugin, a custom SCM plugin has been written and thats 
used.

On Tuesday, 29 August 2017 08:03:22 UTC+5:30, Mark Waite wrote:
>
> Git plugin has known issues with keeping and reading too much build data.  
> Limiting the amount of history had been my best work around to date. 
>
> Mark Waite
>
> On Mon, Aug 28, 2017, 7:21 PM Shashank Bhargav  > wrote:
>
>> 8192m is the value for XMX we have currently set. But the usage takes 
>> almost that and hangs.
>>
>> Couple of things we have observed until now : 
>>
>> 1. Discard builds was set to number 100 and now we have changed it to 25, 
>> assuming performance issues are due to large number of builds. 
>> 2. We also have a plugin written which generates change log. For some 
>> reason Multijob plugin copies change log details of all sub jobs ( as the 
>> SCM is in sub jobs ) to its build.xml and hence build.xml file becomes 
>> huge. In some cases when the there are lot of changes, this itself crosses 
>> 1 GB. 
>> We are trying to identify and tweak our change log generation somehow, so 
>> that multijob doesn't pick this up.
>> 3. Heap dump didn't provide lot of details, it of course said Multijob 
>> takes lot of memory which is already known :)
>>
>> We haven't had a concrete solution as yet, but trying out on these 
>> possibilities.
>>
>> On Tuesday, 29 August 2017 00:11:52 UTC+5:30, Baptiste Mathus wrote:
>>
>>> +1 with Michael, in addition to this I would probably try some 
>>> 'diff-debugging' by using/removing some parts of that thing and try and 
>>> narrow down more precisely what caused the memory peak.
>>>
>>> BTW, what is your Xmx value?
>>>
>> Le 24 août 2017 01:02, "Michael Pailloncy"  a 
>>> écrit :
>>>
>> The best to start here would be to try instructions on this page 
  
 and analyze the resulting heapdump.


 2017-08-24 8:08 GMT+02:00 Shashank Bhargav :

>>> Hi All,
>
> We are facing serious out of memory errors with Multi job project.
>
> Configuration contains the following : 
>
> 1. Parameterized build
> 2. Multi job Phase
> 3. Inject passwords to the build as environment variables
> 4. Set Jenkins user build variables
> 5. Editable Email notification
>
> All of these is executed ,memory immediately shoots up after last step 
>  is executed and Jenkins hangs.
>
> Has anyone faced such issues before?
>
 -- 
> 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/2f7997c8-094c-4ab1-9888-47d354ad3c80%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/CAPO77c0PHO4X0XqW%3DSJ_gbXT1XH0zc75cRTynMFndyAOs5_4rg%40mail.gmail.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/59d9e8e6-9d4f-43df-b81b-439d4a65bede%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/ae6121e2-3e76-4ebb-b387-3e8c37def559%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Scoverage reports

2017-08-29 Thread nviorres
Hi Gaston,

Any luck with this? I am facing the same problem.

Thank you.

On Thursday, January 19, 2017 at 1:12:50 AM UTC+2, Gastón Tonietti wrote:
>
> Hi Daniel,
>
> Indeed I have plenty of security errors on the console when trying to load 
> the html report.
> But TBH I'd be more interested in setting up the scoverage plugin as it 
> generates a trend graph too.
>
> Are you aware of the syntax I should use in my Jenkinsfile to enable it?
>
> Thank you!
> Gaston.
>
> On Thursday, January 19, 2017 at 12:16:11 AM UTC+11, Daniel Beck wrote:
>>
>>
>> > On 18.01.2017, at 01:39, Gastón Tonietti  wrote: 
>> > 
>> > I tried with publishHTML, the report seems to be there in the build but 
>> when I open it only a couple of blank frames are shown. 
>>
>> Check your browser's error console. Maybe this is SECURITY-95? 
>>
>>
>> https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy
>>  
>>
>>

-- 
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/acf8712c-4876-4e3d-855b-dcf07615940d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [EXTERNAL] - Unable to get login page

2017-08-29 Thread Dirk Heinrichs
Am 28.08.2017 um 15:11 schrieb phanikumar:

> I have developed a custom plugin and uploaded it to my Jenkins server. Now I
> am unable to get the login page for Jenkins server. I even restarted my
> entire physical machine. But it didn't work. Can some one help me out on
> this?

Errh, remove the plugin?

Next time better try it in a test environment first.

HTH...

    Dirk
-- 
*Dirk Heinrichs*
Senior Systems Engineer, Delivery Pipeline
OpenText^TM Discovery | Recommind
*Email*: dirk.heinri...@recommind.com 
*Website*: www.recommind.de 

Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach

Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon
Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer
HRB 10646

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

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 sind nicht gestattet.

-- 
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/06b9e6b3-587c-abd9-8c4a-ff36c9c85fec%40opentext.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get login page

2017-08-29 Thread Michael Pailloncy
Hey. Have you check Jenkins logs ?

2017-08-28 15:11 GMT+02:00 phanikumar :

> Hello team,
>
> I have developed a custom plugin and uploaded it to my Jenkins server. Now
> I
> am unable to get the login page for Jenkins server. I even restarted my
> entire physical machine. But it didn't work. Can some one help me out on
> this?
>
>
>
> --
> View this message in context: http://jenkins-ci.361315.n4.
> nabble.com/Unable-to-get-login-page-tp4901614.html
> Sent from the Jenkins users mailing list archive at Nabble.com.
>
> --
> 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/1503925868997-4901614.post%40n4.nabble.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/CAPO77c05s9TCqj-rDWegfDmNEEOh1OLnfO1OdKb-JufYDcD6mQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to fix this error " Fix this plugin first."

2017-08-29 Thread mortenricklodam
Thanks Daniel

It works now :)

/Morten

On Monday, August 28, 2017 at 4:18:19 PM UTC+2, Daniel Beck wrote:
>
>
> > On 27. Aug 2017, at 23:07, mortenr...@gmail.com  wrote: 
> > 
> > After updating to 2.75 from 2.75 I got all this errors. 
> > All my plugins are up to date. 
> > How do I fix this 
>
> Build a directed acyclic graph from the messages and find the root(s). 
>
> From a quick look, it seems you need to enable the jQuery bundles plugin 
> and the SSH credentials one, that should resolve most, or perhaps all, 
> issues. 
>
>

-- 
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/1b0f319f-b8e4-4a66-9b44-38f86ee68451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.