Re: Re: Templates Plugin (Jenkins Enterprise)

2015-10-05 Thread Walter Kacynski
I use the Enterprise Templates extensively.  They are very powerful but 
difficult to debug at times.  I run a second "Test" master that I use to 
stage template changes to make sure that everything goes as planned before 
issuing updates to my production jobs.  The great thing about these is that 
you can dynamically change the logic of a build job by inventing your own 
job attributes.

On Sunday, October 4, 2015 at 4:01:11 PM UTC-4, Martin B. wrote:
>
> Thanks!
>  
> I'm looking at dozens of similar jobs at the moment and only a single 
> master, so I guess I'm in a smaller boat that you atm.
>  
> What scares me with regard to the Xml transform is that I'm not sure 
> subtle errors slipping through especially when changing an existing template
> for existing jobs. Well I guess there's nothing for it but to try it in 
> depth for myself.
>  
> Could you comment further on the second option you mentioned? (workflow + 
> job DSL)
> Keeping Job defs in SCM certainly seems intriguing.
>  
> chhers,
> Martin
>   
> *Gesendet:* Freitag, 02. Oktober 2015 um 20:37 Uhr
> *Von:* "Cuong Tran" >
> *An:* "Jenkins Users" >
> *Betreff:* Re: Templates Plugin (Jenkins Enterprise)
> Martin, 
>  
> We use the Templates plugin to simplify the job creation interface and 
> standardize common job types. Combined with the folder plugin, we can 
> restrict what can be created within a folder, making it even simpler for 
> end users. The xml transformation isn't bad since you can just create a job 
> with substitution tokens (${FOO}) and load it in from the interface. 
> Changes to a template are automatically propagated to its jobs as well. 
>  You can also easily convert an existing job to use templates job.
>  
> I think it's better than the other options you listed.
>  
> Having said that, we have thousands of jobs and multiple Jenkins masters 
> so this plugin doesn't work that well for our scenario.  I think the 
> general direction of keeping the job configuration in SCM (using 
> combination of the workflow and Job DSL plugin) is more scalable and it's 
> something we are investigating.
>
> On Thursday, October 1, 2015 at 12:53:36 PM UTC-7, Martin B. wrote: 
>>
>> Hello users.
>>
>> I'm looking for independent opinions on the Jenkins Enterprise Templates
>> Plugin.
>>
>> It would be one of the main reasons for us to adopt Jenkins Enterprise,
>> but I was quite shocked to learn (see
>>
>> http://documentation.cloudbees.com/docs/cje-user-guide/temolate-sect-job-template-tutorial.html
>> )
>> that you actually have to do raw XML transformation to get a simple job
>> template running. Looks rather bare bones to me. ('course I *can* see
>> where this might be useful with very complicated job templates, but I
>> like to keep the simple stuff simple, and telling people to write jelly
>> transformations isn't my idea of simple)
>>
>> Anyway - are you using JE Templates Plugin? Great Stuff? Much better
>> than (https://github.com/JoelJ/ez-templates) or
>> (https://wiki.jenkins-ci.org/display/JENKINS/Template+Project+Plugin) 
>> ... ?
>>
>> cheers,
>> Martin
>
>  
> --
> 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/6a363e9f-ed64-4be8-a4a9-7dc68591c6d6%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/18996fc2-0e92-4bb4-98a1-3084d1c97568%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rebuild plugin] Request for feedback about current behaviour for build cause

2015-10-05 Thread Walter Kacynski
I think that this is a problem with the rebuild plugin.  It should be 
adding a UserCause to the chain.  However, this would technically change 
the build if that build was relying on the state of how the build was 
triggered.  Maybe rebuild could annotate the SCM badge with a special note 
if BTB has also been installed.

On Friday, October 2, 2015 at 3:45:16 PM UTC-4, Baptiste Mathus wrote:
>
> Hi,
>
> I'm a maintainer on the buildtriggerbadge plugin (named BTB hereafter). 
> I've received a request from a user about the behaviour of my plugin wrt to 
> using rebuild. And I've found this is seemingly actually more a Rebuild 
> question to enable something in BTB in the end.
>
> Here's the case:
>
> * a build was triggered with say a SCM cause, hence the build has a SCM 
> badge thanks to BTB.
> * Then the user clicks on "Rebuild last"
> * the newly executed build, though manually started, has a SCM cause 
> badge. (Since Rebuild seems to also reuse the previous cause.)
>
> So, the question is: as a user, would you indeed expect Rebuild to reuse 
> just everything like currently? Or better just reuse the parameters (, and 
> not somehow more internal things like the cause)?
>
> To the Rebuild plugin maintainers: is this behaviour on purpose or 
> something that just never surfaced before?
>
> Thanks a lot.
>
> -- 
> Baptiste
>

-- 
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/c5c7f92c-d61b-418a-8293-d3a54321bdb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help with Deploy to Websphere plugin

2014-12-05 Thread Walter Kacynski
I use this plugin with WAS 8.5.5 and no problems.  Are you running in 
Thinclient mode or are you point to the IBM JDK?

On Thursday, December 4, 2014 1:15:38 PM UTC-5, Marcel F wrote:
>
> Did you get any further log information. May in the ffdc logs or in the 
> dmgr logs of WebSphere?
> This blog post explains how to setup the new websphere deployer plugin 
> with jenkins 
> 
> .
> However this plugin only performance re-installs not updates - so specific 
> settings will be lost.
>
> Am Donnerstag, 20. Dezember 2012 19:08:00 UTC+1 schrieb MoBarger:
>>
>> I am having issues with the deploy to websphere plugin. I am trying to
>> deploy to WAS7, I am thinking that despite the presence of "WebSphere
>> Application Server 6.1/7 (with security disabled)" on its wiki page
>> that perhaps it does not work with WAS7.
>>
>> If I deploy the ear file to http://server:8880 for the SOAP connector
>> I get "FATAL: WAS 6.1 deploy execution failed
>> com.ibm.websphere.management.exception.AdminException:
>>
>> Build step 'Deploy war/ear to a container' changed build result to 
>> FAILURE"
>>
>> I am running Jenkins 1.494, deploy plugin 1.4, deploy to websphere 1.0
>>
>> I downgraded from 1.9 to 1.4 per
>> https://wiki.jenkins-ci.org/display/JENKINS/Deploy+WebSphere+Plugin
>>
>> The websphere jars (6.1) are installed in the websphere plugin's
>> WEB-INF/lib dir.
>>
>> WAS61Adapter.properties file added per
>>
>> http://jenkins.361315.n4.nabble.com/Deploy-to-Websphere-container-Plugin-Hudson-version-1-388-td3179444.html
>> I could not connect to the location mentioned in that thread so pulled
>> the properties from
>>
>> http://www.jarvana.com/jarvana/inspect/org/jvnet/hudson/plugins/deploy-websphere/1.0/deploy-websphere-1.0-sources.jar?folder=hudson/plugins/deploy/websphere/
>>
>> I have verified that jobs still fail when pointed to WAS6.1
>> Hudson logs show
>> WARNING: Could not find tmx4jTransform.jar in null/etc/tmx4jTransform.jar 
>> - Interoperability to older versions of WebSphere is disabled
>> Dec 20, 2012 12:02:09 PM com.ibm.ws.ssl.config.SSLConfigManager
>> INFO: ssl.disable.url.hostname.verification.CWPKI0027I
>> Dec 20, 2012 12:05:20 PM hudson.model.Run execute
>> INFO: Enveritus-PNC-test #27 main build action completed: SUCCESS
>> Dec 20, 2012 12:09:27 PM hudson.model.Run execute
>> INFO: Enveritus-PNC-test #28 main build action completed: SUCCESS
>> Dec 20, 2012 12:09:32 PM com.ibm.websphere.management.AdminClientFactory
>> WARNING: ADMC0046W
>>
>> There is no security on any of the WAS instances I am testing.
>>
>> What am I missing?
>>
>

-- 
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/27744eb7-4e3b-4891-b728-2deaf8084aa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New message with 1.565.11.1

2014-11-11 Thread Walter Kacynski
 

Thanks, I opened ZD-22836

The pull request does not mention how to fix the warning or why it is a 
warning.


On Tuesday, November 11, 2014 2:06:38 PM UTC-5, Daniel Beck wrote:
>
> https://github.com/jenkinsci/jenkins/pull/1440 was an attempt to get rid 
> of the message, but rejected because there was a reason for adding the 
> warning. 
>
> You could try filing a support request with Cloudbees, asking them to fix 
> ZD-22406. 
>
> On 11.11.2014, at 19:32, Walter Kacynski  > wrote: 
>
> > Sorry the subject of this message is inconsistent.  The problem occurs 
> on plain LTS 1.565.3 as well as Enterprise 1.565.11.1 
> > 
> > On Tuesday, November 11, 2014 1:28:55 PM UTC-5, Walter Kacynski wrote: 
> > I just updated to LTS 1.565.3 and now my master reports the following 
> message every-time that a job is executed: 
> > 
> > 24782 Nov 11, 2014 1:24:18 PM jenkins.model.lazy.LazyBuildMixIn 
> removeRun 
> > 24783 WARNING: 
> hudson.model.FreeStyleProject@35ef5dfc[WebSphere/Admin/SND/Environment_Artifact_Config]
>  
> did not contain WebSphere/Admin/SND/Environment_Artifact_Config #362 to 
> begin with 
> > 
> > This seems to be related to rolling off the last job as part of the 
> purge criteria. 
> > 
> >  Does anyone know what this means? 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Jenkins Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to jenkinsci-use...@googlegroups.com . 
> > For more options, visit https://groups.google.com/d/optout. 
>
>

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


Re: New message with 1.565.11.1

2014-11-11 Thread Walter Kacynski
Sorry the subject of this message is inconsistent.  The problem occurs on 
plain LTS 1.565.3 as well as Enterprise 1.565.11.1

On Tuesday, November 11, 2014 1:28:55 PM UTC-5, Walter Kacynski wrote:
>
> I just updated to LTS 1.565.3 and now my master reports the following 
> message every-time that a job is executed:
>
> 24782 Nov 11, 2014 1:24:18 PM jenkins.model.lazy.LazyBuildMixIn removeRun
> 24783 WARNING: 
> hudson.model.FreeStyleProject@35ef5dfc[WebSphere/Admin/SND/Environment_Artifact_Config]
>  
> did not contain WebSphere/Admin/SND/Environment_Artifact_Config #362 to 
> begin with
>
> This seems to be related to rolling off the last job as part of the purge 
> criteria.
>
>  Does anyone know what this means?
>

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


New message with 1.565.11.1

2014-11-11 Thread Walter Kacynski
I just updated to LTS 1.565.3 and now my master reports the following 
message every-time that a job is executed:

24782 Nov 11, 2014 1:24:18 PM jenkins.model.lazy.LazyBuildMixIn removeRun
24783 WARNING: 
hudson.model.FreeStyleProject@35ef5dfc[WebSphere/Admin/SND/Environment_Artifact_Config]
 
did not contain WebSphere/Admin/SND/Environment_Artifact_Config #362 to 
begin with

This seems to be related to rolling off the last job as part of the purge 
criteria.

 Does anyone know what this means?

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


Re: HP Automation Automation Tool plugin TDConnectivity issue on Jenkins

2014-10-31 Thread Walter Kacynski
A few things that I have done to make sure it works...

   - Disable UAC on the computer
   - Make sure that you install with the url 
   http:///qcbin/start_a.jsp?common=true
   - Secondly, I need to run the attached VBscript to launch IE before 
   every test that is run.
   

On Thursday, October 30, 2014 1:30:04 PM UTC-4, DWFDS wrote:
>
> Hello JenkinsUsers,
>
> My organization uses Jenkins for auto build and deployment purpose. 
> Automation team has request to run functional test from Jenkins on 
> designated Windows7 64-bit system on nightly basis. 
>
> To achieve this, I have downloaded HP Application Tool plugin (version: 
> 3.0.6). Current Jenkins version:1.571.
>
> Description about issue:
> so after downloading pluing into Jenkins, I made free style job to execute 
> functional test periodically. 
>
> Please find the attachment for more details. 
>
> Two attachments:
> 1) Job configuration
> 2) Result
>
> I have installed TDConnectivity plugin on designated machine where Jenkins 
> suppose to run funcational tests but seems like Jenkins is unable to detect 
> it.
>
> Any help or guidance would be greatly appreciated.
>
> Thank you 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.
For more options, visit https://groups.google.com/d/optout.
' 
http://stackoverflow.com/questions/1875344/how-to-kill-the-last-opened-internet-explorer-window-using-a-command

Set IE = CreateObject("InternetExplorer.Application")
IE.visible=true
IE.navigate "http://:8080/qcbin/start_a.jsp?common=true"
while IE.Busy
 WScript.Sleep 15000
 wend
IE.Quit

If Not IE Is Nothing Then
Set IE = Nothing
End If


Re: How to set "Environment variables" in "Global properties" of global Jenkins configuration programmatically?

2014-09-22 Thread Walter Kacynski
I use the following script to inject a username and password:

usernamePassword = build.getEnvironment(null)[secret]
def (username, password) = usernamePassword.split(':')

e = new hudson.EnvVars()
e.put(secret + '_USERNAME', username)
e.put(secret + '_PASSWORD', password)
build.environments.add(hudson.model.Environment.create(e))


On Monday, September 22, 2014 3:23:51 AM UTC-4, mr wrote:
>
> Hi Folks!
>
> Do anybody have an idea how to set/change the variables within a Groovy 
> script?
>
> Regards!
>

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


Re: Authetication using LDAP and Local User

2014-08-29 Thread Walter Kacynski
Well, maybe I should elaborate...  I have done this when the remote users 
is connecting via SSH with CLI commands.  I have not done this for an 
interactive user thru the GUI.


On Friday, August 29, 2014 12:06:25 PM UTC-4, Walter Kacynski wrote:
>
> I have done this with no problems using the LDAP plugin and local users.
>

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


Re: Authetication using LDAP and Local User

2014-08-29 Thread Walter Kacynski
I have done this with no problems using the LDAP plugin and local users.

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


Re: What are the difference between Jenkins and HP ALM?

2014-08-13 Thread Walter Kacynski
There is a Jenkins Plugin for HP ALM that allows you to run test cases 
after your build or deployment of code.  We will be using this to verify if 
a recently built artifact passes our functional tests.

On Wednesday, August 13, 2014 8:50:01 AM UTC-4, Manju wrote:
>
> Hi all,
> I am a new user to this group.
>
> If my understanding is correct, Jenkins is also a one type of test 
> management tool like HP QC/HP ALM.
>
> I just wanted to know what is the advantages of Jenkins over the HP ALM?
>
> And what are the main differences between Jenkins and HP ALM!
>
> Regards,
> Manju
>
>

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


HTTP 403 on wiki.jenkins-ci.org

2014-08-12 Thread Walter Kacynski
Is anyone else getting HTTP 403 error messages when accessing certain URLs 
of the wiki site?

It seems to be mostly the AJAX requests that are failing for me.  I was 
trying to add labels to pages, watch, and favorite page functions aren't 
working either.  These are the URLs that are failing for me:

 https://wiki.jenkins-ci.org/json/suggestlabelsactivity.action
 https://wiki.jenkins-ci.org/json/addlabelactivity.action 
 https://wiki.jenkins-ci.org/pages/startwatching.action 
 https://wiki.jenkins-ci.org/json/addfavourite.action

Thank-You,
Walt

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


Passing build result to a downstream build

2014-08-01 Thread Walter Kacynski
I'm using a post-build task 
https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin to change a 
build result to WARNING or FAILURE.  I need to be able to pass this change 
/ upgraded status to a job that is trigger by Paramaterized Trigger 
Plugin.  Does anyone know how to do this?

Thank-You,
Walt

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


Re: Enabling "RunScripts" in security set up

2014-04-14 Thread Walter Kacynski
In the current state, yes.  

As per a conversation with Jesse Glick:

> Do not do that. Contrary to appearances, it is actually a stronger 
> permission than Overall/Administer.
>
> In order for regular users to define flows using Build Flow, the plugin 
> would have to be integrated with 
> this<https://wiki.jenkins-ci.org/display/JENKINS/Script+Security+Plugin>, 
> which so far it is not. Therefore as a stopgap measure it only allows 
> administrators to define and edit flows.
>
>
>- Integrating it into Build Flow would probably be easy enough 
>(@Nicolas). The hard part is making sure the integration is usable. Users 
>can always request that the whole script go to a manual approval queue, 
>which is preferable to them having to ask you to edit the flow for them, 
>but you are still a bottleneck.
>
>So preferably they would run the script in a Groovy sandbox, which 
>requires no prior approval for the whole script. Making that secure 
> however 
>requires that all the individual operations in the sandbox can be safely 
>whitelisted, and that is tricky. Some operations, like printing a message 
>to the flow’s output, are no-brainers. Other operations might sound 
>straightforward but could be abused. The administrator can manually 
>whitelist operations that users actually tried, but the plugin must 
> provide 
>a reasonable default set, so that the administrator is not required to be 
>an expert in what is or is not safe.
>
>In particular, triggering builds of other jobs is problematic because 
>you would expect this to require the Job/Build permission (on that job), 
>not to be blanket whitelisted. Script Security supports whitelisting 
>operations which require permission checks…but does not define a mechanism 
>for associating an actual authentication (i.e., user) with the execution 
> of 
>the script. Jenkins core *does* define such an API, but does not 
>define a standard way of implementing it. The Authorize Project 
> plugin<https://wiki.jenkins-ci.org/display/JENKINS/Authorize+Project+plugin>provides
>  such an implementation (actually several), but has not yet been 
>reviewed by myself or Kohsuke to see if it is really secure, especially 
>considering corner cases such as jobs configured from REST or CLI.
>
>In short, this is all work that we acknowledge is needed, but have not 
>had the time to do yet.
>
>Jesse Glick
>CloudBees, Inc
>
>

On Monday, April 14, 2014 1:17:54 PM UTC-4, VFloyd wrote:
>
> Thanks Walter.
>
> So this is necessary for the "Build Flow" as well as the "Job DSL" plugin?
>
>
>
> On Monday, April 14, 2014 9:59:27 AM UTC-7, Walter Kacynski wrote:
>>
>> This would allow any user to run a system groovy script thru the CLI or 
>> Groovy Plugin.
>>
>> On Monday, April 14, 2014 10:17:11 AM UTC-4, VFloyd wrote:
>>>
>>> Morning,
>>> What functionality, exactly, would I be opening up if I enable 
>>> "RunScripts" in our security setup?
>>>
>>> Thanks
>>> Vanetta
>>>
>>

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


Re: Enabling "RunScripts" in security set up

2014-04-14 Thread Walter Kacynski
This would allow any user to run a system groovy script thru the CLI or 
Groovy Plugin.

On Monday, April 14, 2014 10:17:11 AM UTC-4, VFloyd wrote:
>
> Morning,
> What functionality, exactly, would I be opening up if I enable 
> "RunScripts" in our security setup?
>
> Thanks
> Vanetta
>

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


Location of jenkins.err.log

2014-03-04 Thread Walter Kacynski
Is there a way to move the jenkins.err.log to a location other than the 
default of JENKINS_HOME?

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


Re: Credentials Plugin and Environment Variables

2013-12-06 Thread Walter Kacynski
 

I thought that augmenting the Env-Inject plugin would be more appropriate 
than creating a new plugin for Environment Variable manipulation.

 

https://issues.jenkins-ci.org/browse/JENKINS-20903


On Monday, December 2, 2013 4:45:40 PM UTC-5, Stephen Connolly wrote:
>
> You could write a plugin that does that...
>
>
> On 2 December 2013 17:54, Walter Kacynski 
> > wrote:
>
>> Is it possible to "export" the list of credentials for the job's current 
>> scope so that they can be accessed via environment variables for job built 
>> steps like shell scripts?
>>
>> Thank,
>> Walt
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

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


Re: Problem with update sites

2013-12-06 Thread Walter Kacynski
I was experiencing the same issue.  I attribute this to the fact that the 
stable update feed had not been updated to reflect 1.532.1 was available.

On Thursday, December 5, 2013 10:28:41 AM UTC-5, Zoltán Ujhelyi wrote:
>
> Hi all,
>
> I have a strange issue with update center. Yesterday, I have found that 
> the last successful update check happened in about 20 days, so I was 
> looking for what was changed. Until yesterday, our install was on 1.509.4, 
> then I successfully updated to 1.532.1.
>
> Just for a test, I have replaced the stable url from 
> http://updates.jenkins-ci.org/stable/update-center.json to 
> http://updates.jenkins-ci.org/update-center.json, and the update check 
> succeeded, but after putting back to old URL, my issues returned: the 
> update check starts, but does not finish, and does not produce any kind of 
> error messages. I also checked the logs in the Log Viewer.
>
> Does anyone has any idea, what might have gone wrong? Maybe I am using a 
> wrong update center url?
>
> Thanks in advance,
> Zoltán
>

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


Re: Parameterized Build, how to pass a JVM argument using Jenkins?

2013-12-02 Thread Walter Kacynski
The only way that I can think of doing this would be to update your build 
scripts to look for these environment variables so that they are passed 
into the JVM.  Otherwise, you would have to call the java program from a 
second build step outside of your ANT script.

On Monday, December 2, 2013 12:55:16 PM UTC-5, stephenc wrote:
>
> I am creating a Parameterized build where the Parameter is of type 
> "Choice" and the Parameter Name is "testName".
> Choice of values such as "bigTest"  "smallTest"  "medTest" 
>
> I want to pass the value as a JVM argument.
> For example if they select the value of "bigTest" I want to set JVM 
> argument as   -DtestName=bigTest
>
> The reason is that when the user kicks off the build I want them to have 
> the option of which parameter to use.
>
> I would rather not modify the ANT script running this to set an 
> Environment variable if Jenkins can do it for me.
>
> Is this possible?
>
> 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Upgrade from 1.472 to 1.541 failing

2013-12-02 Thread Walter Kacynski
1.) All builds are cumulative so you just need to pick the version that you 
want to run.

Please share the error message that you are seeing.  Also, did you try 
searching http://issues.jenkins-ci.org for your error message?

On Monday, December 2, 2013 12:54:55 PM UTC-5, bluntcoder wrote:
>
> Hello,
>
> I'm trying to upgrade my fully functional Jenkins build (v1.472) to the 
> latest version on Windows XP. The automatic update failed. I tried doing a 
> manual update, it also failed. It is due to an access violation in the 
> jenkins.err.log on bootup. One thing I tried was adding in JENKINS_HOME 
> manually, since it wasn't present. However that did not fix it. I ended up 
> reverting to the old build for now.
>
> At this point I wouldn't be surprised if my build is just too old to do in 
> place update, so I'm wondering what's the best approach here:
>
> Do I:
> 1) Upgrade the war file manually, which would be very tedious, since 
> there's 69 versions in between, or perhaps I could get a list of which wars 
> I can skip to ensure any configuration changes required are taken care of?
>or 
> 2) Install a totally new build of Jenkins on the same machine, and then 
> somehow transfer my configuration settings over to the new build, and kill 
> the old one.
>or something else suggested by someone on this forum.
>
> Any input is greatly appreciated.
>
> Thanks!
>   Mark
>
>
>
>
>
>

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


Credentials Plugin and Environment Variables

2013-12-02 Thread Walter Kacynski
Is it possible to "export" the list of credentials for the job's current 
scope so that they can be accessed via environment variables for job built 
steps like shell scripts?

Thank,
Walt

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


Re: Release date of next LTS release

2013-12-02 Thread Walter Kacynski
I used the LTS download link and it was updated to version 1.532.1  

It looks like the text on the page has not been updated as of yet, nor the 
LTS update center links.

On Monday, December 2, 2013 12:32:44 PM UTC-5, MoBarger wrote:
>
> Any closer to defining a date for the general release? 
>
> On Thu, Nov 14, 2013 at 2:35 PM, Daniel Beck > 
> wrote: 
> > Kohsuke posted the release candidate today, so you could start using (or 
> at least testing) that: 
> > 
> > See http://jenkins-ci.org/stable-rc 
> > 
> > On 14.11.2013, at 19:09, VFloyd > 
> wrote: 
> > 
> >> Any update on the next LTS release date? 
> >> 
> >> 
> >> 
> >> On Sunday, October 13, 2013 1:23:08 AM UTC-7, scl.gplus wrote: 
> >> Hi, 
> >> 
> >> I'd like to change over from the latest release to the LTS release 
> >> next time the LTS is released. Are there current plans for this 
> >> and if yes, when is the next LTS planned to be released? 
> >> 
> >> Thank you in advance, 
> >> 
> >> Sven 
> >> 
> >> -- 
> >> You received this message because you are subscribed to the Google 
> Groups "Jenkins Users" group. 
> >> To unsubscribe from this group and stop receiving emails from it, send 
> an email to jenkinsci-use...@googlegroups.com . 
> >> For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Jenkins Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to jenkinsci-use...@googlegroups.com . 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>

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


Re: Difference btw. Enterprise Role-Based-Access-Control and Free Role-Strategy Plugin?

2013-11-19 Thread Walter Kacynski
I have used the Enterprise Version in a limited trial and I currently use 
the RegEx version in our PROD Jenkins instance.  I like the simplicity and 
centralized management of the RegEx version.   However, the RBAC 
(Enterprise) version allows for decentralized management which is great if 
you want a true multi-use one Jenkins Master to rule them all for your 
company.  My only complaint is that there isn't a report of all the 
security permissions that are defined in the organization for audit 
purposes.

On Tuesday, November 19, 2013 5:04:46 AM UTC-5, Martin B. wrote:
>
> Hi everyone and esp. CloudBees! 
>
> What are the main benefits the Jenkins Enterprise [Role-based Access 
> Control Plugin][1] offers over the free [Role Strategy Plugin][2] ??? 
>
> thanks for any insight, 
> Martin 
>
>
> [1] : 
>
> http://www.cloudbees.com/jenkins-enterprise-by-cloudbees-features-role-based-access-control-plugin.cb
>  
> [2] : https://wiki.jenkins-ci.org/display/JENKINS/Role+Strategy+Plugin 
>

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


Re: Unable to Start NEW SSH slave

2013-06-18 Thread Walter Kacynski
 

Yes, I can confirm that SSH functions correctly from the Master to the 
target computer successfully.  Does anyone know how to enable additional 
logging or debugging functionality for this process?

-Walt

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




Re: LDAP Authentication: Change display name

2013-06-17 Thread Walter Kacynski
I felt this was a bug/improvement and I have opened a JIRA:
https://issues.jenkins-ci.org/browse/JENKINS-18355


On Thursday, April 19, 2012 8:10:26 AM UTC-4, Edward Cullen wrote:
>
> Using Jenkins 1.460, LDAP auth is configured correctly.
>
> I would like to change field used to determine the display name.
>
> I suspect this is possible by modifying the
> LDAPBindSecurityRealm.groovy, but I haven't done Java in yonks and don't
> have time to pick it up right now...
>
> I want to use the cn (Common Name) field (of a standard posixAccount
> object), does anyone know how I can do this?
>
> TIA.
>
> -- 
> Edward Cullen
> Software Engineer
> n.able Technology Services
> mailto:edward...@hp.com 
>
> Assigned to Data Protection & De-duplication: D2D - HP Storage
> ---
> Hewlett-Packard, Long Down Avenue, Stoke Gifford, Bristol, BS34 8QZ,
> United Kingdom.
>
> The contents of this message and any attachments to it are confidential
> and may be legally privileged. If you have received this message in
> error you should delete it from your system immediately and advise the
> sender.
> To any recipient of this message within HP, unless otherwise stated, you
> should consider this message and attachments as 'HP CONFIDENTIAL'
>
>

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




Unable to Start NEW SSH slave

2013-06-17 Thread Walter Kacynski
I'm trying to attache a new SSH based slave to my Jenkins 1.510 
installation.  However after creating the slave the master always complains 
that "This node is offline because Jenkins failed to launch the slave agent 
on it."  However, clicking on the Slave log reveals NO output text.  I have 
checked the remote system and there are no access attempts so it looks like 
the master is not generating any connections.

I see these messages repeated in the master jenkins.err.log:
50568 Jun 17, 2013 9:00:57 AM hudson.slaves.SlaveComputer tryReconnect
50569 INFO: Attempting to reconnect SNDWASA001

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


6/17/13 8:57 AM

= Threads on PRDJENK101@10.7.28.61 =

"Attach Listener" daemon prio=5 RUNNABLE

"AWT-Windows" daemon prio=6 RUNNABLE
sun.awt.windows.WToolkit.eventLoop(Native Method)
sun.awt.windows.WToolkit.run(WToolkit.java:293)
java.lang.Thread.run(Thread.java:662)

"Channel reader thread: QTP11Task04" prio=5 RUNNABLE
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
java.io.BufferedInputStream.read(BufferedInputStream.java:237)

java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2252)

java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2545)

java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2555)
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1294)
java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
hudson.remoting.Command.readFrom(Command.java:92)

hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)

hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

"Channel reader thread: VDIQTPTaskW704" prio=5 RUNNABLE
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
java.io.BufferedInputStream.read(BufferedInputStream.java:237)

java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2252)

java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2545)

java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2555)
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1294)
java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
hudson.remoting.Command.readFrom(Command.java:92)

hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)

hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

"ConnectorThread:[https-443]" daemon prio=5 RUNNABLE
java.net.PlainSocketImpl.socketAccept(Native Method)
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
java.net.ServerSocket.implAccept(ServerSocket.java:462)

com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:261)
winstone.HttpListener.run(HttpListener.java:139)
java.lang.Thread.run(Thread.java:662)

"DestroyJavaVM" prio=5 RUNNABLE

"Executor #0 for master" prio=5 WAITING
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
hudson.util.OneShotEvent.block(OneShotEvent.java:72)
hudson.model.Queue.pop(Queue.java:877)
hudson.model.Executor.grabJob(Executor.java:285)
hudson.model.Executor.run(Executor.java:206)

"Executor #0 for QTP11Task04" prio=5 WAITING
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
hudson.util.OneShotEvent.block(OneShotEvent.java:72)
hudson.model.Queue.pop(Queue.java:877)
hudson.model.Executor.grabJob(Executor.java:285)
hudson.model.Executor.run(Executor.java:206)

"Executor #0 for SNDWASA001" daemon prio=5 WAITING
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
hudson.util.OneShotEvent.block(OneShotEvent.java:72)
hudson.model.Queue.pop(Queue.java:877)
hudson.model.Executor.grabJob(Executor.java:285)
hudson.model.Executor.run(Executor.java:206)

"Executor #0 for TEST1" daemon prio=5 WAITING
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:485)
hudson.util.OneShotEvent.block(OneShotEvent.java:72)
hudson.model.Queue.pop(Queue.java:877)
huds

Job Generator generation slow

2013-05-02 Thread Walter Kacynski
I'm using the Job Generator plugin to generate 100 new jobs.  I notice that 
each invocation of the generation takes about 3 seconds.  This seems very 
long given the fact that it's executing an internal API call within the 
master.  Does anyone know a way to speed up this process so that jobs are 
trigger more quickly?  My Jenkins quiet period is set to zero.

Thanks,
Walt

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




Re: unable to disable automatic gzip responses

2013-04-29 Thread Walter Kacynski
I have done more testing with this option and I can confirm this behavior 
that it does not seem possible to disable the gzip response compression.  
Does anyone have a solution to this?

https://issues.jenkins-ci.org/browse/JENKINS-14362

Since we use a reverse proxy, I'm considering changing our mod_rewrite 
rules to strip the Accept-Encoding header to remove gzip as an option.

On Monday, April 8, 2013 1:39:59 PM UTC-4, Walter Kacynski wrote:
>
> Did you verify the HTTP response as opposed to the Request?
>
> On Wednesday, December 26, 2012 9:32:53 PM UTC-5, Sunny wrote:
>>
>> Hi all,
>>
>> Version: 1.495 WAR, deployed on Tomcat7 Windows service.
>>
>> I'm trying to disable the CompressionFilter that is compressing all of 
>> Jenkin's responses.
>>
>> I've found references to a variable 
>> org.kohsuke.stapler.compression.CompressionFilter.disabled=true that should 
>> have done the job, but on inspecting the HTTP headers in my browser 
>> Content-Encoding=gzip always seems to be present. I can verify that the 
>> variable is present in both as a Environment Variable and a System 
>> Properties in Jenkins.
>>
>> Gzip is not enabled in Tomcat.
>>
>> Is there something else that I'm missing?
>>
>> (I want to disable gzipping the responses to use nginx's HttpSubModule)
>>
>> thanks,
>> Sunny
>>
>

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




Re: unable to disable automatic gzip responses

2013-04-08 Thread Walter Kacynski
Did you verify the HTTP response as opposed to the Request?

On Wednesday, December 26, 2012 9:32:53 PM UTC-5, Sunny wrote:
>
> Hi all,
>
> Version: 1.495 WAR, deployed on Tomcat7 Windows service.
>
> I'm trying to disable the CompressionFilter that is compressing all of 
> Jenkin's responses.
>
> I've found references to a variable 
> org.kohsuke.stapler.compression.CompressionFilter.disabled=true that should 
> have done the job, but on inspecting the HTTP headers in my browser 
> Content-Encoding=gzip always seems to be present. I can verify that the 
> variable is present in both as a Environment Variable and a System 
> Properties in Jenkins.
>
> Gzip is not enabled in Tomcat.
>
> Is there something else that I'm missing?
>
> (I want to disable gzipping the responses to use nginx's HttpSubModule)
>
> thanks,
> Sunny
>

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




Recursive groups membership with LDAP plugin in Active Directory

2013-04-08 Thread Walter Kacynski
Are there any special flags required to enable recursive group lookup with 
the LDAP plugin against an Active Directory repository?  I have no problems 
resolving group memberships if users are direct adds.

Thank-You,
Walt

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




Re: cron "H" syntax

2013-04-01 Thread Walter Kacynski
Did you ever find a solution for using  "H/5"?  I'm facing the same issue 
that you describe.

Thanks.

On Wednesday, May 23, 2012 6:34:42 PM UTC-4, Maven User wrote:
>
> "H" is a drop in for any of the time slots and/or *, so it felt natural 
> (for me) to try "H/5".
>
> To explain that in a different way, I was attempting to say "poll every 5 
> minutes if nothing is polling, wait for that to finish otherwise".
>
> With that out there, if I just leave everything "*/5 * * * *", and wanted 
> things to poll in isolation, couldn't I turn down the concurrent polling 
> down to 1?
>
> IIUC - with the "H" option, jenkins would decide how to split things up 
> and I could leave the concurrent polling unbounded (which is a better 
> option methinks).
>
> I wonder if that would eventually prevent things from getting a chance to 
> poll at all
>
> On Wednesday, May 23, 2012 6:09:39 PM UTC-4, Kohsuke Kawaguchi wrote:
>>
>> Thanks for an interesting use case. 
>>
>> */5 is just a short hand for 0-60/5, so I guess the general case that 
>> needs to be considered here is how to use hash in "(s-e)/d" construct. 
>>
>> What's the good syntax here? H(s-e)/d? H(*)/d vs H/d? 
>>
>>
>>

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




Re: how to implement an invisible job property plugin

2013-02-04 Thread Walter Kacynski
 I'm interested in doing something similar.  Which jelly file are you 
referring to?

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




Re: AD based Authentication for Jenkins from Local Accounts

2012-07-23 Thread Walter Kacynski
Did you add yourself with Administrator privileges in the Users/Groups 
panel before activating security?

On Monday, July 23, 2012 4:18:51 AM UTC-4, krishna kurnala wrote:
>
> Hello Guys
>
> Can one of you guide me through the process involved, we are currently 
> using Jenkins Local Usernames/Password to Authenticate and we need to have 
> people login with their AD Accounts instead now.
>
> I installed AD plugin, gave the details of our AD of our company, it ran 
> fine and I am able to login with my AD Account, however, I dont see the 
> "Manage Jenkins" anymore, I kind of, locked myself out, and cant do 
> anything, I disabled security in root config.xml to get back to Manage 
> Jenkins again and revert to old Local Auth Mechanism.
>
> Can one of you please guide me through the Migration Process.
>
> Thanks,
> Krishna Chaitanya
>