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 su

Re: User log in or last time logged in history

2017-09-01 Thread Daniel Beck
> On 1. Sep 2017, at 14:27, Li Z wrote: > > Is there any way to see user last logged in date (time) in Jenkins? No -- 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 em

Re: "The authenticated build user anonymous has no Job.BUILD permission" with downstream builds

2017-09-07 Thread Daniel Beck
> On 7. Sep 2017, at 18:53, Daniel Lo Nigro wrote: > > I guess this is due to SECURITY-201 > (https://jenkins.io/security/advisory/2017-07-10/) but now I'm not quite sure > how to accomplish what I want. How can I allow the projects to be triggered > as downstream builds of a remotely-trigger

Re: Two Jenkins Linux instances both running Jenkins ver. 2.77 but Manage Plugins "Check now" button behavior is different between the two

2017-09-07 Thread Daniel Beck
> On 7. Sep 2017, at 18:13, 'Raye Raskin' via Jenkins Users > wrote: > > Anyway, in instance A when I click the "Check now" button I get a screen > update in about 4 or so seconds with a list of any available plugin updates > or Jenkins updates. Fine. > > In instance B when I click the same

Re: blueocean SonarQube Quality gate not working

2017-09-08 Thread Daniel Beck
> On 8. Sep 2017, at 23:45, nup wrote: > > I have tried all of the various different steps, but I still get following > same error "Unable to get SonarQube task id and/or server name. Please use > the 'withSonarQubeEnv' wrapper to run your analysis." > It's a wrapper, so try something like t

Re: warning about deprecated protocols

2017-09-08 Thread Daniel Beck
> On 9. Sep 2017, at 01:39, Masaru Tsuchiyama wrote: > > This Jenkins instance uses deprecated protocols: JNLP-connect,JNLP2-connect. > It may impact stability of the instance. If newer protocol versions are > supported by all system components (agents, CLI and other clients), it is > highly

Re: Slave To Master Access Control | security-144

2017-09-08 Thread Daniel Beck
> On 29. Aug 2017, at 21:07, Guillaume Karcher > wrote: > > at > org.jenkinsci.plugins.DependencyCheck.maven.MavenArtifactRecorder.postBuild(MavenArtifactRecorder.java:46) > Probably a bug in this old release of dependency-check-jenkins-plugin, but this particular feature looks like it wa

Re: warning about deprecated protocols

2017-09-09 Thread Daniel Beck
> On 9. Sep 2017, at 06:04, Masaru Tsuchiyama wrote: > > Could you tell me where it is? Labeled 'Agent protocols…'. -- 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 em

Re: What is the right contact for Jenkins infrastructure account issues?

2017-09-14 Thread Daniel Beck
> On 13. Sep 2017, at 18:00, 'Alexandra Goultiaeva' via Jenkins Users > wrote: > > On the reset password page it says "contact us to get your account > recovered", but I'm having a hard time finding any non-public contacts on > jenkins.io. > > Whom can I contact if I'm having trouble with th

Major update to Matrix Authorization Plugin on experimental update center

2017-09-15 Thread Daniel Beck
Hi everyone, I recently fixed several long-standing issues with the Matrix Auth plugin. A beta release of the major update 2.0 is available on the experimental update center[2]. The list of changes is available on the plugin's page[1]. Please help me test it to ensure a smooth upgrade experienc

Re: Major update to Matrix Authorization Plugin on experimental update center

2017-09-20 Thread Daniel Beck
I just released 2.0-beta-3. It includes compatibility with the pipeline `properties()` step. I currently plan no further changes before the final 2.0 release. Please help test this, and file issues as described in the previous email. Thanks, Daniel > On 16. Sep 2017, at 02:23, Daniel B

Re: TEST-jasmine.xml is 47 years old

2017-09-20 Thread Daniel Beck
Is the 'target' directory checked into your SCM? > On 20. Sep 2017, at 10:57, jiyaol...@gmail.com wrote: > > Hi, > > when build a maven project with clean package -Dmaven.test.skip=true,some > moudles show below,and it caused the build faild. > [INFO] > --- jasmine-maven-plugin:2.0:test (defau

Re: GitHub Branch Source Plugin - upgrade messed up jobs

2017-09-22 Thread Daniel Beck
> On 22. Sep 2017, at 07:48, Idan Adar wrote: > > which didn't help. This is unrelated to GHBS, rather looks like a problem in Declarative Pipeline. Possibly related to yesterday's release of version 1.2. -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: GitHub Branch Source Plugin - upgrade messed up jobs

2017-09-22 Thread Daniel Beck
> On 22. Sep 2017, at 09:45, Daniel Beck wrote: > > This is unrelated to GHBS, rather looks like a problem in Declarative > Pipeline. Possibly related to yesterday's release of version 1.2. Oops, didn't notice there were further responses. Sorry about that. -- You

Re: GitHub Branch Source Plugin - upgrade messed up jobs

2017-09-22 Thread Daniel Beck
> On 22. Sep 2017, at 11:33, Idan Adar wrote: > > credentials("${JENKINSBOT_USERNAME_PASSWORD}") This is equivalent to: credentials(JENKINSBOT_USERNAME_PASSWORD) -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this grou

Re: GitHub Branch Source Plugin - upgrade messed up jobs

2017-09-22 Thread Daniel Beck
> On 22. Sep 2017, at 12:18, Idan Adar wrote: > > > Checking pull request #215 > > Submitted from origin repository, skipping > > I have a repository and in this repository I have two branches: develop and > master. > I created another branch, "devops", from which I make a pull request to >

Re: alternative to cloudbees Folder Plus PlugIn for Open Source Jenkins?

2017-09-22 Thread Daniel Beck
> On 22. Sep 2017, at 13:16, Ricko Regen wrote: > > I would like to use the "Folder Plus Plugin", but this is not possible. It's free and open source. Everything on the Jenkins project update center is (but may integrate with non-free tools). https://github.com/jenkinsci/cloudbees-folder-plug

Re: Documentation on pipeline

2017-09-23 Thread Daniel Beck
> On 23. Sep 2017, at 15:35, Mark Waite wrote: > > I think we can contribute to jenkins.io, even without edit access. The notable exception being generated pages, like everything in https://jenkins.io/doc/pipeline/steps/ -- periodically generated directly from the running plugin. The differe

Re: pkg.jenkins.io HTTPS certificate expired

2017-09-26 Thread Daniel Beck
> On 26. Sep 2017, at 12:49, Florent wrote: > > Certificate of https://pkg.jenkins.io expired on September 26, 2017, 12:18 PM. Fixed now. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emai

Re: Jenkins 2.80: how to create a new user

2017-09-27 Thread Daniel Beck
> On 27. Sep 2017, at 13:37, Masaru Tsuchiyama wrote: > > But the mechanism that Jenkins is activated by the local file key > and is required to create a user seems to be removed. > > Is it an intentional change? if so, why? This only happens if it isn't a clean install, or you specifically di

Re: Jenkins 2.80: how to create a new user

2017-09-27 Thread Daniel Beck
> On 27. Sep 2017, at 15:34, masaru tsuchiyama wrote: > > I clean-installed macOS high sierra. > So I think there was no old files. > > To make sure, I ran this command. > sudo /Library/Application\ Support/Jenkins/Uninstall.command > > After that, I installed Jenkins 2.80. > But the result wa

Re: Jenkins 2.80: how to create a new user

2017-09-27 Thread Daniel Beck
> On 27. Sep 2017, at 13:37, Masaru Tsuchiyama wrote: > > I installed Jenkins 2.80 cleanly on macOS high sierra. > > But the mechanism that Jenkins is activated by the local file key > and is required to create a user seems to be removed. I informed the jenkinsci-advisories list about this reg

Re: Is there a way of cloning the repo an additional layer down?

2017-10-02 Thread Daniel Beck
> On 2. Oct 2017, at 21:13, dandeliondodgeball wrote: > > Assuming there is no simple generic solution, what is the best custom > solution? My first thought would be a script. > If this is a scripted pipeline, you can do dir('repo01code') { checkout scm } -- You received this mes

Re: Mixing declarative and scripted pipeline syntax in one Jenkinsfile ...

2017-10-04 Thread Daniel Beck
> On 4. Oct 2017, at 09:00, Eric Tan wrote: > > Is it possible to mix declarative and scripted pipeline syntax in one > Jenkinsfile ? > https://jenkins.io/doc/book/pipeline/syntax/#script -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Jenkins CLI with http protocol does not respond in 2.81

2017-10-04 Thread Daniel Beck
> On 4. Oct 2017, at 13:50, Riccardo Foschia > wrote: > > after an upgrade of Jenkins 1.638 to 2.81 CLI I need to switch to http > protocol but it doesn't work (SSH protocol seems to work after the upgrade). > > No matter which CLI command I use, after a few seconds the call returns but > sh

Re: Jenkins CLI with http protocol does not respond in 2.81

2017-10-04 Thread Daniel Beck
> On 4. Oct 2017, at 14:29, Riccardo Foschia > wrote: > > Thanks for your answer, but there is no proxy running. What security realm are you using? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop rec

Re: Another CLI question

2017-10-08 Thread Daniel Beck
> On 4. Oct 2017, at 22:37, Richard Ginga wrote: > > nothing in my nginx configuration indicates any buffering explicitly one way > or the other. Time to re-read the first snippet in https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy -- You received this message

Re: Weird configuration with a clean install of Jenkins

2017-10-08 Thread Daniel Beck
> On 8. Oct 2017, at 17:20, Karl Davis wrote: > > Shouldn't a clean install of Jenkins end up configured to use > hudson.security.HudsonPrivateSecurityRealm? Not if you explicitly disable the setup wizard (then you're expected to set things up yourself from scratch). The behavior is as docume

Re: Weird configuration with a clean install of Jenkins

2017-10-08 Thread Daniel Beck
> On 8. Oct 2017, at 17:20, Karl Davis wrote: > > Just to make this even more confusing, when I'm running this role in a > different environment (but also a clean install) the config.xml has > hudson.security.HudsonPrivateSecurityRealm and -- sometimes (?!) -- ends up > with 2.whatever. To c

Re: Major update to Matrix Authorization Plugin on experimental update center

2017-10-09 Thread Daniel Beck
> On 20. Sep 2017, at 09:15, Daniel Beck wrote: > > I just released 2.0-beta-3. > > It includes compatibility with the pipeline `properties()` step. > > I currently plan no further changes before the final 2.0 release. Please help > test this, and file issues as d

Re: Intermittenly Jenkins fails invoking through curl command

2017-10-10 Thread Daniel Beck
> On 10. Oct 2017, at 23:44, Bubunia Patra wrote: > > javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; > lineNumber: 10; columnNumber: 3; The element type "hr" must be terminated by > the matching end-tag "". This is the error message. Your XML file is malformed.

Re: Intermittenly Jenkins fails invoking through curl command

2017-10-11 Thread Daniel Beck
> On 11. Oct 2017, at 00:31, Bubunia Patra wrote: > > Not sure what is the issue And we cannot help you if you don't show us the XML file contents. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop rece

Re: SetupWizard: Unable to setup first user

2017-10-16 Thread Daniel Beck
> On 16. Oct 2017, at 14:48, Thor Waway > wrote: > > Any troubleshooting tips? There's a known issue related to missing email addresses. Since what you entered isn't an email address, might be the same bug. -- You received this message because you are subscribed to the Google Groups "Jenki

Re: Clickable link in console ESC[8mha

2017-10-17 Thread Daniel Beck
> On 17. Oct 2017, at 02:22, Khomyuk Viktor wrote: > > Is it possible to create such link manually (by echo) from job? > In theory, yes, but not easily since we fixed https://jenkins.io/security/advisory/2017-02-01/#persisted-cross-site-scripting-vulnerability-in-console-notes -- You receiv

Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-17 Thread Daniel Beck
> On 17. Oct 2017, at 17:39, dandeliondodgeball wrote: > > All I get is the "Launch" button and I keep trying to make that work. With > no luck so far. Enable the JNLP agent port on the security configuration form. -- You received this message because you are subscribed to the Google Groups

Re: Remote call on JNLP4-connect connection

2017-10-17 Thread Daniel Beck
> On 17. Oct 2017, at 15:46, LnT wrote: > > java.lang.OutOfMemoryError: PermGen space Increase the PermGen size (google the error), or just run Jenkins on Java 8. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this gro

Re: How to resolve 'Failed Loading item ' ?

2017-10-18 Thread Daniel Beck
> On 18. Oct 2017, at 10:54, David Aldrich wrote: > > How can I clear these? > Two options: 1. Install the plugin again, delete the jobs from the UI 2. Delete the folders on disk -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscri

Re: Remote call on JNLP4-connect connection

2017-10-20 Thread Daniel Beck
> On 20. Oct 2017, at 09:08, LnT wrote: > > I use latest java - 1.8.0._144 > Not on the agent that goes oom. -- 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 t

Re: Clickable link in console ESC[8mha

2017-10-28 Thread Daniel Beck
> On 25. Oct 2017, at 10:21, Khomyuk Viktor wrote: > > Hi! I see that console tah clickable link to jenkins jobs/users/etc. This > links starts with esc sequence ESC[8mha . > Is it possible to print (echo) that links from shell step ? > It's a serialized Java object, so, not easily (i.e. you'

Re: Weekly build Jenkins 2.87 is not available for download

2017-10-30 Thread Daniel Beck
> On 30. Oct 2017, at 14:28, Masaru Tsuchiyama wrote: > > Weekly build Jenkins 2.87 is not available for download > at https://jenkins.io/download/ Thanks, I filed https://issues.jenkins-ci.org/browse/INFRA-1382 -- You received this message because you are subscribed to the Google Groups "Je

Re: Best way to develop pipeline groovy

2017-11-01 Thread Daniel Beck
> On 31. Oct 2017, at 22:51, Christoph Ruepprich wrote: > > This gets pretty tedious and time consuming. Is there a better way to develop > scripts without having to either develop them in the web UI or copy & paste > them? https://jenkins.io/blog/2016/04/14/replay-with-pipeline might also he

Re: [Event]: Bugs wanted

2017-11-01 Thread Daniel Beck
> On 1. Nov 2017, at 21:30, Alyssa Tong wrote: > > Pls send me your bug suggestions by this Friday, 3rd Nov 8am PT and plan to > watch it go down live next Tuesday, 7 Nov @ 8am PT > JENKINS-45927 JENKINS-34337 JENKINS-44972 JENKINS-18992 isn't quite a bug, but close to it, given lazy build

Re: the older builds for windows and mac

2017-11-02 Thread Daniel Beck
> On 31. Oct 2017, at 13:46, Masaru Tsuchiyama wrote: > > Could you make the older builds for them available? See http://mirrors.jenkins-ci.org/ for the list. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group an

Re: Circular dependencies in plugins

2017-11-02 Thread Daniel Beck
> On 3. Nov 2017, at 00:41, CLOSE Dave wrote: > > I know that the dependencies are broken because I have another Jenkins > instance with nearly all the same plugins but without Docker Commons > Plugin. Without a list of plugins (and versions) on the other instance it's impossible to say why mi

Re: the older builds for windows and mac

2017-11-02 Thread Daniel Beck
> On 3. Nov 2017, at 01:08, Masaru Tsuchiyama wrote: > > If we add ?C=M&O=D to the end of the URL The column headers are clickable links that do this for you. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group an

Re: Circular dependencies in plugins

2017-11-03 Thread Daniel Beck
> On 3. Nov 2017, at 02:17, CLOSE Dave wrote: > > I think part of the trouble with the seemingly endless dependency chain > may be the Pipeline plugins. Most if not all of the other plugins seem > to define the other plugins on which they are dependent. The Pipeline > plugins, in contrast, defin

Re: Circular dependencies in plugins

2017-11-04 Thread Daniel Beck
> On 3. Nov 2017, at 18:22, CLOSE Dave wrote: > > Every one of the Pipeline plugins, all 23 of them, claim to be dependent > on some other plugins. None offer the option to disable. The chain seems > endless. And many of the plugins asserted to be dependent are ones I > want to keep, such as Pip

Re: Circular dependencies in plugins

2017-11-04 Thread Daniel Beck
> On 4. Nov 2017, at 13:02, Daniel Beck wrote: > > Look for the list entry just called 'Pipeline' (or search for > pipeline-aggregator in the search box). Oops -- used to be called workflow, so workflow-aggregator. > Try to disable it. If the checkbox is disabled a

Re: Circular dependencies in plugins

2017-11-06 Thread Daniel Beck
> On 6. Nov 2017, at 21:52, CLOSE Dave wrote: > > But the instance which concerns me at the moment says Token Macro Plugin is > dependent on Pipeline. token-macro 2.2 had the dependency, it was dropped in 2.3. Which are the versions you're using. -- You received this message because you are

Re: Circular dependencies in plugins

2017-11-06 Thread Daniel Beck
> On 7. Nov 2017, at 00:57, CLOSE Dave wrote: > > However, I still see some dependencies which seem bogus to me. All of those plugins implement features to support their use in Pipeline, so have a dependency on them. -- You received this message because you are subscribed to the Google Group

Re: Slow loading of job configuration page after Jenkins upgrade

2017-11-07 Thread Daniel Beck
> On 3. Nov 2017, at 19:42, t3knoid wrote: > > I tried that and I am at a lost as how to interpret the stack. This happened > after updating to v2.87 and some of the plugins. I know this info is not much > help, but I'd appreciate how can I go about getting more info on how to > troubleshoot

Re: How to create Jenkins Windows-service

2017-11-08 Thread Daniel Beck
> On 8. Nov 2017, at 17:28, eid badr wrote: > > How does the function Manage Jenkins > Install as Windows Service work? > > What does it do exaclty? > > How can I create Jenkins Windows-Service programatically? Or is there a tool > I can use? It's all done as calls to https://github.com/kohs

Re: Missing configuration options

2017-11-08 Thread Daniel Beck
> On 8. Nov 2017, at 20:29, john.peterson wrote: > > 2.87 (by default) does not have the option under Configure System (as 1.58 > did) to set my default view. How do I do this now? Have a second view. -- You received this message because you are subscribed to the Google Groups "Jenkins Use

Re: Missing configuration options

2017-11-09 Thread Daniel Beck
> On 9. Nov 2017, at 14:16, john.peterson wrote: > > Sigh... So. It is there now (I added yet another dummy view and it now shows > up) under Maven. So, I change it. Then I discover that none of the Advanced > buttons work and my Configuration is truncated after about 2 screens full of > i

Re: Missing configuration options

2017-11-10 Thread Daniel Beck
> On 10. Nov 2017, at 16:07, john.peterson wrote: > > > "check JS errors in browser console". > I'm assuming the Jenkins console? Where do I go to actually see this? Or is > there something I can look at directly inside Chrome (with the Jenkins Tab > displayed)? There are no error pop-up

Re: Jenkins pipeline editor

2017-11-10 Thread Daniel Beck
> On 10. Nov 2017, at 19:01, itchymuzzle wrote: > > I use this IDE but wasn't able to get that feature working. Does https://groups.google.com/d/msg/jenkinsci-users/S0_etu_70oY/0jQJRISJAgAJ help? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" gr

Re: Jenkins pipeline with permissions inside and poll SCM scedule - how to?

2017-11-12 Thread Daniel Beck
> On 12. Nov 2017, at 11:59, seva.post...@gmail.com wrote: > > Jenkins 2.7.4 This release is long obsolete. Does the same issue occur on 2.73.x or newer? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: How to use Jenkinsfile to set job permission properties (AuthorizationMatrixProperty)

2017-11-12 Thread Daniel Beck
> On 12. Nov 2017, at 11:35, seva.post...@gmail.com wrote: > > What is a syntax for or how to specify authorization matrix property inside > Jenkins pipeline script??? Per your other question, you're still on 2.7.x -- but for this, you need matrix-auth plugin 2.0 or newer, which requires Jenki

Re: How to disable Jenkins script console?

2017-11-13 Thread Daniel Beck
> On 13. Nov 2017, at 10:16, Stephen Connolly > wrote: > > You could use an init.groovy script to remove the management link extension > from the list of management link extensions. That will remove access to the > HTML page. Did you try that? I would be surprised if this worked given that

Re: Not able to access groovy variable in shell after upgrading jenkins to 1.X to 2.X

2017-11-14 Thread Daniel Beck
> On 13. Nov 2017, at 15:33, Mahesh Wabale wrote: > > Recently i have upgraded jenkins to 2.87 from 1.611 . > Something must be missing here, because this never worked as you describe it. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Debian packages

2017-11-15 Thread Daniel Beck
> On 15. Nov 2017, at 08:30, 'Thomas Martitz' via Jenkins Users > wrote: > > the debian package wasn't updated to 2.90. Is that intentional? > Not intentional, the process was hanging. Should be available shortly. -- You received this message because you are subscribed to the Google Groups

Re: Old generation (heap size) continuous to trend up

2017-11-16 Thread Daniel Beck
> On 16. Nov 2017, at 14:40, Johan-Kees Vliek > wrote: > > Is there a known issue with Jenkins (v2.60.2), or does anyone have > suggestions what to check/change to resolve this issue?TIA. > If you're using Groovy a lot, 2.73.x includes an update fixing memory-related problems as documented

Re: Jenkins 2.91 is not available yet

2017-11-20 Thread Daniel Beck
> On 20. Nov 2017, at 13:41, Masaru Tsuchiyama wrote: > > https://jenkins.io/download/ says "Download Jenkins 2.91 for". > But Jenkins 2.91 is not available yet. Thanks, I informed KK who creates the packages. Meanwhile, the war is available, but there's nothing in 2.91 you're likely to urgent

Re: Jenkins 2.91 is not available yet

2017-11-20 Thread Daniel Beck
> On 20. Nov 2017, at 14:10, Daniel Beck wrote: > > Thanks, I informed KK who creates the packages. Meanwhile, the war is > available, but there's nothing in 2.91 you're likely to urgently need. Packages are now available. -- You received this message because you

Re: Problems with CSRF protection in Jenkins 2.85

2017-11-23 Thread Daniel Beck
> On 22. Nov 2017, at 16:48, martin.j...@nsn.com wrote: > > • Both the API-token, as well as the password can be used (same syntax, > just use PWD or token) > Both lead to the same Crumb returned > Then what is this token about ? Depending on the environment, putting passwords into script

Re: Jenkins AIX version

2016-07-24 Thread Daniel Beck
> On 23.07.2016, at 22:34, Baptiste Mathus wrote: > > since some months, Jenkins requires JDK 7 minimum. Specifically, since May 2015 for weeklies, and October 2015 for LTS. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe fr

Re: Null pointer when entering confgure security

2016-07-25 Thread Daniel Beck
The plugin has been broken for months now with this issue: https://github.com/jenkinsci/slack-plugin/issues/191 > On 22.07.2016, at 11:32, yohanes marthin Hutabarat > wrote: > > Hello guys, > I'm new with Jenkins. > I am trying to create master-slave jobs with slave on VM. > But when I create

Re: EnvInject - groovy script in Jenkins 2.x

2016-07-25 Thread Daniel Beck
> On 22.07.2016, at 11:47, Simona Avornicesei wrote: > > As a side question, I noticed lots of methods and classes are deprecated from > Hudson.* packages. As a best practice, should I use only the jenkins.* > packages in the groovy scripts? Deprecation is generally unrelated to the package.

Re: Blue Ocean Alpha Plugin - HTTP error of HTTPS

2016-07-26 Thread Daniel Beck
What URL is configured in Manage Jenkins » Configure Jenkins » Jenkins Location? Should be HTTPS if you access Jenkins that way. > On 26.07.2016, at 17:37, Dan QAmbox wrote: > > Hi there. > > I just installed the alpha version of the Blue Ocean plugin. I see the blue > "Try Blue Ocean" button

Re: Layout problem after upgrade to 2.7.1

2016-08-03 Thread Daniel Beck
> On 03.08.2016, at 09:25, Sebastian wrote: > > atfer upgrading from 1.651.2 to 2.7.1 I have some problems with the website > layout while configuring a job, see screenshot. Is this broken in current > Jenkins build or can I fix this somehow? > Known issue, apparently it's better than resizi

Re: Layout problem after upgrade to 2.7.1

2016-08-03 Thread Daniel Beck
> On 03.08.2016, at 11:38, Sebastian wrote: > > Thanks, do you have an issue number on https://issues.jenkins-ci.org for this? https://issues.jenkins-ci.org/browse/JENKINS-35269 was the second hit when searching for 'broken layout' ;-) > Btw, on a clean install of 2.7.1 it looks fine for me.

Re: strange job folders on Jenkins server

2016-08-03 Thread Daniel Beck
Do they contain a config.xml file? > On 03.08.2016, at 21:28, Ginga, Dick wrote: > > Anyone, are these timestamp-named folder related to the legacyIds file? > > Anyone know what the legacyIds file is for? > > From: Ginga, Dick > Sent: Wednesday, August 03, 2016 9:02 AM > To: jenkinsci-users

Re: Jenkins CLI, trouble installing plugin from local hpi

2016-08-04 Thread Daniel Beck
> On 28.07.2016, at 01:36, James Richard wrote: > > Manually uploading the files to the server works fine, I can > upgrade/downgrade and install any specific version without trouble. There is > only an issue when I use the Jenkins CLI Is that plugin bundled with Jenkins? If so, could be http

Re: Not loading node configuration page

2016-08-04 Thread Daniel Beck
Try updating the Credentials Plugin. > On 29.07.2016, at 14:54, Vijay Mali wrote: > > I am trying to access node configuration page for configuring or edit the > configuration of existing node but the page is not loading at all. > Can anyone help on this. > Thanks. > > -- > You received this

Re: New version of Jenkins (*) is available for

2016-08-04 Thread Daniel Beck
Configure an update site in Manage Plugins » Advanced that doesn't serve newer Jenkins versions. You'll have to create that yourself though. > On 21.07.2016, at 08:17, ernest.deb...@bitbar.com wrote: > > Hi, > > in Manage Jenkins there is a line: New version of Jenkins (*) is available > for d

Re: ERROR: java.io.IOException: Failed to install ZAP_2.5.0_Linux.tar.gz

2016-08-04 Thread Daniel Beck
That URL is a redirect, and the tool installers only support that since Jenkins 2.4. > On 20.07.2016, at 08:08, Prakhash Sivakumar wrote: > > Hi all, > > I'm using Jenkins 1.626, When I try to install ZAP by pointing the repository > URL in the zaproxy plugin I'm getting the following error >

Re: Performance issue of blue ocean with large job count

2016-08-04 Thread Daniel Beck
Pagination is currently being worked on and should be done in a week or two IIRC. I learned when I complained about the 100% CPU usage in some views :-) > On 28.07.2016, at 15:32, John D. Ament wrote: > > We have a large number of jobs in our jenkins. Very few of them are actual > pipelines t

Re: strange job folders on Jenkins server

2016-08-04 Thread Daniel Beck
> On 04.08.2016, at 14:14, Ginga, Dick wrote: > > No they do not. Saving build.xml to disk can fail for a number of reasons, and without that file, the folder is not recognized as a build folder on Jenkins startup, and possibly not as a build folder for purposes of the 1.597 migration. Likel

Re: Single Jenkinsfile, multiple architecture builds

2016-08-04 Thread Daniel Beck
The error just tells you that you can't define stages within parallel, as there's no visualization for it -- it's strictly sequential. So remove the 'stage' statements from build() and it should be fine. > On 04.08.2016, at 15:39, Roberto Aguilar wrote: > > Hello, > > I have a Jenkins master

Re: UserContent and Google Login Plugin

2016-08-04 Thread Daniel Beck
/userContent access needs Overall/Read permission. Handing out API tokens even as part of URLs is not a good idea, as it gives the full privileges of the user it is associated with. > On 18.07.2016, at 11:19, Christoph M wrote: > > Hi! > > We're using the Google Login Plugin on our Jenkins. N

Re: UserContent and Google Login Plugin

2016-08-04 Thread Daniel Beck
> On 18.07.2016, at 11:19, Christoph M wrote: > > now I want the file to be accessible without being logged in. TBH looks like you'd be better off just serving a file via Apache/… somewhere else. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" g

Re: UNable to change password at https://accounts.jenkins.io/

2016-08-04 Thread Daniel Beck
Is the password change still a problem? Re the UX, could you file issues in the INFRA project of our issue tracker, with the 'account' component? https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue > On 18.07.2016, at 03:04, Rinaldo DiGiorgio wrote: > > Maybe it is the browsers

Re: Jenkins CLI, trouble installing plugin from local hpi

2016-08-05 Thread Daniel Beck
> On 04.08.2016, at 22:09, James Richard wrote: > > This is a plugin that I have created, it is not bundled with Jenkins. And > like I said, manually installing it, downgrading, uninstalling, etc. works > fine when they are done manually but when using the Jenkins CLI it has the > errors I d

Re: Regex on jenkins label expression

2016-08-05 Thread Daniel Beck
https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin Also supports starting multiple builds on different nodes I think. > On 05.08.2016, at 08:40, Baptiste Mathus wrote: > > Even if it could, this wouldn't do what you think. This field is to be read > as "here's the requireme

Re: Keeping copies of the workspace.

2016-08-06 Thread Daniel Beck
> On 05.08.2016, at 20:44, RiRL wrote: > > keep workspace contents (yes, all the contents) and manage them consistently > with the build retention policy "Archive Artifacts", and just archive everything. -- You received this message because you are subscribed to the Google Groups "Jenkins U

Re: How do I install Jenkins on CentOS 7 with no internet access?

2016-08-06 Thread Daniel Beck
Download the RPM packages from http://pkg.jenkins-ci.org/redhat-stable/ and install them without going through the repo. > On 06.08.2016, at 20:07, Kiran wrote: > > I am using CentOS 7.2. I cannot set up a local repository for policy reasons > (not because I don't know how). I am behind a fire

Re: New Pipeline Maven plugin

2016-08-11 Thread Daniel Beck
> On 11.08.2016, at 18:33, Álvaro Lobato wrote: > > released the first beta version, already available in the update center Experimental update site only: https://jenkins.io/blog/2013/09/23/experimental-plugins-update-center/ -- You received this message because you are subscribed to the Go

Re: Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Daniel Beck
> On 11.08.2016, at 15:14, Jason Kulatunga wrote: > > we've also verified that 'installNecessaryPlugins' does not actually respect > the version parameter. As the plugin update site metadata does not support arbitrary versions, it'll always install the one present in the JSON -- which is the

Re: Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Daniel Beck
> On 11.08.2016, at 15:14, Jason Kulatunga wrote: > > I'm not sure if anyone has done something similar but I wanted to get some > feedback before I spent too much time investigating either idea. Note that pinning doesn't prevent a plugin from being upgraded -- it's related to Jenkins 1.x pl

Re: jenkins 2.7.2 sonarQube SonarQubeScanner not found

2016-08-11 Thread Daniel Beck
Manage Jenkins » Global Tool Configuration > On 11.08.2016, at 12:06, Philippe Couas wrote: > > Hi, > > I want install SonarQube with Jenkins2, but install screen not corresponding ? > http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins#AnalyzingwithSonarQubeScan

Re: Jenkins nginx timeout

2016-08-13 Thread Daniel Beck
Start here: https://wiki.jenkins-ci.org/display/JENKINS/Obtaining+a+thread+dump > On 12.08.2016, at 17:24, Mohamed Sadok Ben Jazia > wrote: > > Something to add, > The server consumes a lot of CPU, it reachs 80% of 4CPU while loading the > project page the the load stops after showing the 504

Re: What are industry standard ways of managing server logins that Jenkins does for its builds?

2016-08-14 Thread Daniel Beck
> On 13.08.2016, at 14:46, Kiran wrote: > > "Manage credentials" the native Jenkins feature > "Credentials Plugin" > "SSH Credentials plugin" These are all basically the same thing. SSH Credentials Plugin is based on Credentials Plugin and provides the SSH credentials types (while IIRC

Re: Best practices: many distinct jobs vs parameterized jobs

2016-08-14 Thread Daniel Beck
> On 13.08.2016, at 16:23, w...@anomalizer.net wrote: > > The only way to track it separately in jenkins 1.x is to have one job for > each. Jenkins 2.x has a mechanism wherein you have have a single job > (pipeline) across the branches and yet, track their statistics separately. The Pipeline s

Re: The option to “Launch slave agents via Java Web Start” is missing from new node configuration

2016-08-15 Thread Daniel Beck
Changing DescriptorVisibilityFilter would likely have unintended side effects. Should probably not use Descriptor visibility, but just have a warning in the JNLP specific config if the agent port is disabled. I'm thinking of something similar to Maven build step's (or possibly Maven Project's) w

Re: Hide/Show button doesn't show up

2016-08-18 Thread Daniel Beck
> On 18.08.2016, at 19:43, Fadi Al-Farah wrote: > > Weird thing is that they both have the same exact theme.css and theme.js! And > both are on version 2.7.2 LTS (latest LTS release) and both have the same > plugins installed and extremely similar configurations (there are some > differences

Re: Jenkins Master and Slave containers sharing Jenkins home

2016-08-18 Thread Daniel Beck
> On 17.08.2016, at 17:10, Tony Owens wrote: > > Am I asking for trouble by doing this? Yes. > If so, any explanation would be greatly appreciated. Each process assumes it has exclusive access to its home directory. Mechanisms like allocating additional workspaces when running two builds of

Re: When a server is designated as a permanent node, what happens to that server?

2016-08-20 Thread Daniel Beck
> On 19.08.2016, at 00:53, Kiran wrote: > > When a server is designated as a permanent node, what happens to that server? > Does Jenkins transfer an installer package or set of configuration files? > If so, where do the files go? What is the size in KB of these files? What > type of overh

Re: Unlock Jenkins Error - HTTP ERROR 404 - New Bee

2016-08-20 Thread Daniel Beck
The URL you want to access is http://localhost:8080 > On 20.08.2016, at 15:32, websphere automation > wrote: > > Hello All, > > I am new to Jenkins and I have installed jenkins on Centos using rpm , it > comes up fine and start. > > I am able to access jenkins console for first time . > ht

Re: When a server is designated as a permanent node, what happens to that server?

2016-08-20 Thread Daniel Beck
> On 20.08.2016, at 22:41, Kiran wrote: > > So most of the time (when Jenkins isn't interacting with a permanent agent), > there is no extra CPU or RAM utilization from the server having the .jar file > and being configured as a permanent agent? While the node is connected/the Java process ru

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

2016-08-22 Thread Daniel Beck
When asking about a possible regression, it helps to mention both the version you're using now, as well as the version you were using before. Try applying the workaround mentioned for SECURITY-243 here: https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11 > On 22.0

<    4   5   6   7   8   9   10   11   12   13   >