How to use Jenkins pipeline method parameters in Powershell script?

2018-08-03 Thread Daniel Christian Schröter
I ask this question already on https://stackoverflow.com/questions/51622150/how-to-use-jenkins-pipeline-method-parameters-in-powershell-script, but maybe here is someone to help me. I defined the following method in jenkins declarative pipeline, but I am not able to use the variables/output f

Re: Plugin Updates for jenkins 1.6x ?

2018-05-17 Thread Daniel Beck
> On 16. May 2018, at 18:17, Torsten Reinhard wrote: > > Wouldn´t it make sense to have an own update-site, where the latest versions > of the 1.6x release are available? We don't consider Jenkins 2.0 to be a major release in the semver sense. It has very little technical incompatibilities[1]

Re: Forbidden hudson.plugins.git.UserRemoteConfig/checkUrl on this server

2018-04-30 Thread Daniel Beck
> On 30. Apr 2018, at 13:44, Mark Waite wrote: > > And yet the message in the screenshot says that files cannot be read. That's a URL. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

Re: Problems adding a slave agent to Jenkins (java.io.IOException: https://jenkins.orgavision.org/tcpSlaveAgentListener/ is invalid: 404 Not Found)

2018-04-30 Thread Daniel Beck
> On 30. Apr 2018, at 13:26, Andreas Tscharner wrote: > > Is the TCP port on the master (Manage Jenkins -> Global Security -> Agents) > set to static? > Probably disabled, which is the default in 2.0+. That disables the endpoint it's trying to connect to. -- You received this message becau

Re: [Win] got war file; cannot login

2018-04-30 Thread Daniel Beck
> On 30. Apr 2018, at 10:39, Thomas Hofmann wrote: > > My command line looks like this: > > java -jar c:\temp\Software\Online\Jenkins\jenkins.war --httpPort=9090 > --argumentsRealm.roles.toohoo=admin --argumentsR > ealm.passwd.toohoo=XX > --logfile=c:\temp\jenkins\logs/winstone_date-2

Configuration of environment variables in Pipeline

2018-04-24 Thread Daniel Belenky
InjectPluginAction(m)) println(build.getEnvironment()) Maybe someone encountered a similar issue before and can share some experience? Or am I doing something wrong here? Thanks, Daniel. -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: Pipeline: BUILD_URL for Blue Ocean

2018-04-19 Thread Daniel Beck
Append /display/redirect to the URL. > On 18. Apr 2018, at 13:29, Sverre Moe wrote: > > We have the following content to mail notifications. > def content "Check console output at ${env.BUILD_URL} to view the results." > > Where env.BUILD_URL has the following URL > https://build-ci.company.com

Re: Jenkins Vulnerability Scan

2018-04-19 Thread Daniel Beck
> On 18. Apr 2018, at 16:33, Mark Waite wrote: > > Likewise, I would assume that the other plugins mentioned in the 2018-01-22 > advisory need to be upgraded to at least those versions. Just a quirk of our advisory format. Unless another plugin is specifically mentioned as affected by this, i

Re: Switch LTS > Weekly

2018-04-12 Thread Daniel Beck
> On 11. Apr 2018, at 22:16, john.peterson wrote: > > Since my LTS is stuck looking at only the LTS site, I assume to switch, I > manually download the weekly I want and simply overwrite the .war? And then > it will be smart enough to know it is the weekly? https://jenkins.io/download/lts/#s

Re: Slave cannot connect to Jenkins via tcpSlaveAgentListener

2018-04-11 Thread Daniel Beck
> On 11. Apr 2018, at 17:36, john.peterson wrote: > > Is this a change in setup defaults? Since Jenkins 2.0 in 2016, and its introduction of the setup wizard. > BTW - this system is only showing "stable" updates for Jenkins. All others > are showing ALL updates (which I actually prefer). Is

Re: Slave cannot connect to Jenkins via tcpSlaveAgentListener

2018-04-11 Thread Daniel Beck
Is the TCP agent listener port in the global security config of Jenkins disabled on the fourth system? > On 11. Apr 2018, at 17:12, john.peterson wrote: > > Legacy systems (3+ years) running 2.111 > > http://jenkins_1:8080/tcpSlaveAgentListener takes us to a page that simply > says Jenkins.

Re: Cannot create cloud using vSphere plugin

2018-04-10 Thread Daniel Beck
> On 10. Apr 2018, at 18:28, john.peterson wrote: > > Under Configure System I have a section at the bottom that says "Add a new > cloud" and if I click the pull-down it says vSphere Cloud. But when I click > that, nothing happens. > > This is the 4th system I have created over the last 3-1/

Re: Builds run on slave survive after master-slave connection get disconnected ?

2018-04-04 Thread Daniel Beck
> On 4. Apr 2018, at 09:59, Long Tran wrote: > > when I run job on a slave, if the master-slave connection get disconnected > (network fails or something), job build will be fail, how can it survive from > that ? Use Pipeline instead of Freestyle jobs. 'sh' and 'bat' tasks are _durable_, i.e

Re: Jenkins in a secure environment - adding documentation to the wiki

2018-04-03 Thread Daniel Beck
> On 3. Apr 2018, at 20:44, Jason Pyeron wrote: > > Forked... Will work there - git is so much easier to work with. Once you have a PR, I'd be happy to review it. Ping @daniel-beck on GitHub. -- You received this message because you are subscribed to the Google Groups "J

Re: Jenkins in a secure environment - adding documentation to the wiki

2018-04-03 Thread Daniel Beck
> On 3. Apr 2018, at 20:44, Jason Pyeron wrote: > > If something is on the wiki but not in the docs Ill copy it in to the docs. That would be great. If the new doc on the site replaces old content completely, please replace the wiki page with a link to the site once it's merged and published

Re: Jenkins in a secure environment - adding documentation to the wiki

2018-04-03 Thread Daniel Beck
> On 3. Apr 2018, at 17:44, Jason Pyeron wrote: > > * Security Technical Implementation Guide (STIG) > ** Firewall > *** Ports & Protocols > ** Patching > ** Login > *** SSO > *** HTTPS Client Auth > ** Access Controls > > * Continuity of Operations (COOP) / Contigincy Plan (CP) > ** Backup / R

Re: Unable to upgrade to 2.1017.1

2018-03-30 Thread Daniel Beck
> On 30. Mar 2018, at 18:08, js784...@gmail.com wrote: > > I tried to update one of my Jenkins instances to 2.107.1 and on restart it > will not come up. > The puzzling thing is this Jenkins instance is the same as another yet that > one updated just fine. > > I did update all the plugins pri

Re: "Restrict where this project can be run" job configuration option has disappeared

2018-03-30 Thread Daniel Petersen
Thanks for the suggestions Daniel, I made the mistake of assuming all jenkins output was being captured in the logs, but when you mentioned startup output, I realized it might be writing directly to the container's stdout, and sure enough, there's a ton of output there (i.e. docker lo

Re: java -XshowSettings:vm for the jenkins master

2018-03-30 Thread Daniel Beck
> On 30. Mar 2018, at 12:14, LnT wrote: > > java -Xrs:Xmx2048m I don't think this is valid, it looks like you just define an invalid value for -Xrs (which is a different option from -Xmx to begin with). -- You received this message because you are subscribed to the Google Groups "Jenkins Us

Re: "Restrict where this project can be run" job configuration option has disappeared

2018-03-29 Thread Daniel Beck
> On 29. Mar 2018, at 21:10, dani...@gradecam.com wrote: > > Is anyone else seeing this? Any suggestions on how to isolate the problem > and find a resolution? This looks like a bug, but I wanted to bounce it off > the community first before creating an issue. Check the log for relevant looki

Re: Free Disk space and Free temp space of Jenkins slave nodes - Mis Match

2018-03-23 Thread Daniel Beck
> On 23. Mar 2018, at 07:36, LnT wrote: > > my Jenkins farm is having many slave nodes , Win7,Win8 and Win10 VMs. > out of which Win10 slave nodes are having different values for Free Disk > space and Free temp space. > Please find below screenshot. > I have no clue how it was set like that. Wh

Re: Jenkins view frame not loading

2018-03-20 Thread Daniel Beck
> On 21. Mar 2018, at 02:40, 'Jenkins User' via Jenkins Users > wrote: > > Sorry about that! Here is the complete stack trace. This is View Job Filters Plugin's "Build Filter (Wrapper) Column"; either the config of the current view uses it but didn't properly configure it, or there's just so

Re: Jenkins view frame not loading

2018-03-20 Thread Daniel Beck
> On 20. Mar 2018, at 22:55, 'Jenkins User' via Jenkins Users > wrote: > > Attached is the screenshot. Did anyone experience this issue? > Your screenshot does not include the only relevant part: The exception message and stack trace. Please post that (as text, and not as screenshot). --

Re: Error: Invalid or corrupt jarfile jenkins.war

2018-03-20 Thread Daniel Beck
> On 20. Mar 2018, at 13:36, Meenal wrote: > > Following is the hash: > > sha256sum jenkins.war > 014f669f32bc6e925e926e260503670b32662f006799b133a031a70a794c8a14 *jenkins.war > > > Thank you Your download is corrupted. Try again until it works. $ shasum -a 256 Jenkins/wars/jenkins-2.107.1.

Re: Unable to Load Images and Java script files and Css in Genkins html Report file

2018-03-20 Thread Daniel Beck
> On 20. Mar 2018, at 06:27, Venkatesh Lingutla > wrote: > > When i open from server machine jobs ->project name->build number->html > reports->report folder name ..etc. It's working fine. > > When i open from genkins it's not able to open attachments. > > please see attachement for Re

Re: Blue Ocean UI takes 20-30 min to load

2018-03-20 Thread Daniel Beck
> On 20. Mar 2018, at 10:06, Andrei Gheorghiu wrote: > > Does anyone know if this is something I can fix myself? The standard UI works > fine, but Blue Ocean takes close to 30 min to load the first page - after > that is loaded, browsing to others (same UI) works fine. > This didn't always hap

Re: Serving LetsEncrypt challenge from Jenkins

2018-03-16 Thread Daniel Beck
> On 16. Mar 2018, at 22:46, Simon Richter wrote: > > How would I make a file with a random name visible in the web tree (the > file is not below /userContent/)? > > Also, I'd like to bind Jenkins to port 443 — is there a sane way to make > it bind the port and drop privileges, or do I need to

Re: Stuck jobs

2018-03-07 Thread Daniel Beck
Output of https://wiki.jenkins-ci.org/display/JENKINS/Obtaining+a+thread+dump might be useful when this occurs, to see what's going on. > On 7. Mar 2018, at 14:52, > wrote: > > We semi-regularly get jobs that get stuck after the following: > > [URLTrigger] A change within the response URL i

Re: Jenkins: user is missing the Overall/Read permission - Issue

2018-03-03 Thread Daniel Beck
> On 3. Mar 2018, at 15:06, Poovaraj Thangamariappan > wrote: > > I have created manual user in Manger User and I have configured in > Matrix-based security. It is showing Manual user is missing the Overall/Read > permission'while login into jenkins. > > Pleaes find thebelow screenshot and

Re: Error Message : org.xmlpull.v1.XmlPullParserException: only 1.0 is supported as

2018-03-03 Thread Daniel Beck
> On 3. Mar 2018, at 07:35, Poovaraj Thangamariappan > wrote: > > I have downgraded Jenkins latest version to old version(2.48). I got below > error message after launch the Jenkins. Please help me to fix this issues. > Downgrades are generally not supported -- and huge jumps like this even

Re: Jenkins Pipeline with parallel stages

2018-03-01 Thread Daniel Beck
> On 1. Mar 2018, at 08:34, Rachit Agrawal wrote: > > I am new to jenkins and starting to use Pipeline plugin with Declarative > syntax. I have a requirement where I want to run multiple stages in parallel. > Attached is the example figure. > > Fig 1. is something that I can create but what I

Re: Environment Injector Plugin update?

2018-02-27 Thread Daniel Beck
> On 27. Feb 2018, at 09:36, David Aldrich wrote: > > I am seeing a security warning for the Environment Injector Plugin but no > update is offered in Plugin Manager. Read the advisory. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To un

Re: Jenkins issue on installing Email-ext plugin[--Urgent--]

2018-02-24 Thread Daniel Beck
> On 24. Feb 2018, at 05:26, Mark Waite wrote: > > Installing a plugin by directly uploading an hpi file will not install any > additional dependencies, even if they are required. This was fixed (for uploads through the UI) in Jenkins 2.1. -- You received this message because you are subscri

Re: ClassNotFound after push -- OK afterwards?

2018-02-18 Thread Daniel Beck
> On 18. Feb 2018, at 03:47, Eric Y. Theriault wrote: > > Any insight on working around this? Thanks! Known issue: https://issues.jenkins-ci.org/browse/JENKINS-48357 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: Who do I contact to recover my Jira login to report a Jenkins bug?

2018-02-07 Thread Daniel Beck
> On 7. Feb 2018, at 18:08, Steve K wrote: > > I think that my account is associated with my previous employer's E-mail > address, so I am unable to receive a password reset. > When attempting to reset my account, it says "If you can't figure this out, > contact us to get your account recovere

Re: weekly build 2.105 for mac is not available

2018-02-07 Thread Daniel Beck
> On 7. Feb 2018, at 13:02, masaru tsuchiyama wrote: > > But weekly build 2.105 for mac is not available at > http://mirrors.jenkins-ci.org/osx/?C=M;O=D > Thanks, I pinged KK about this. He's doing the releases. -- You received this message because you are subscribed to the Google Groups "J

Re: Numeric Jenkins Pipeline Parameters

2018-02-02 Thread Daniel Beck
> On 2. Feb 2018, at 17:12, Dave Hallam wrote: > > Is there a reason why not? No such parameter type in Jenkins (without plugins) -- wouldn't make sense for other job types that typically receive values and env vars anyway. > I know I could disable the sandbox for the latter issue, but I'd r

Re: What happens to tasks on disconnected slaves?

2018-02-02 Thread Daniel Beck
> On 2. Feb 2018, at 14:07, 'Maciej Jaros' via Jenkins Users > wrote: > > So... What happens if a Jenkins slave is disconnected from master while > running my restore task? Depends. Pipelines just continue, they've been designed with resilience like this in mind. Once the connection is rees

Re: Release notes for Blue Ocean 1.4??

2018-01-25 Thread Daniel Beck
> On 25. Jan 2018, at 13:06, David Aldrich wrote: > > It seems that the JIRA -> Confluence application link is broken, so the JIRA > links don’t work. > > Does anyone know where we should report this? > The Jira links are known to be broken due to the caching layer in front on Confluence (

Re: The Estimated Remaining Time isn't computed anymore since Jenkins 2.92

2018-01-25 Thread Daniel Beck
> On 25. Jan 2018, at 06:08, blanger wrote: > > Resetting the executableEstimatedDuration only when there is no asynchrounous > execution seems to solve the problem. So the resulting Code in > hudson.model.Executor is Could you file a bug in Jira and a pull request with your change? -- You

Re: Multibranch pipeline global build number

2018-01-24 Thread Daniel Beck
> On 24. Jan 2018, at 13:21, Matt wrote: > > We also have this problem which could be quite dangerous... Include the branch name and/or PR number in the version number string; perhaps unless it's master (or whatever you usually release from). Safe and unambiguous. -- You received this messa

Re: Blue Ocean not loading

2018-01-19 Thread Daniel Beck
> On 19. Jan 2018, at 20:42, John wrote: > > I am running on a locked down system with Firefox 10 It should come as no surprise that a six year old browser is no longer supported by a component entirely based on modern web technology. -- You received this message because you are subscribed t

Re: Nullpointer exception in Jenkins 2.46.3

2018-01-18 Thread Daniel Beck
> On 18. Jan 2018, at 10:14, 'Madhawa Gunasekara' via Jenkins Users > wrote: > > ERROR: Processing failed due to a bug in the code. Please report this to > jenkinsci-users@googlegroups.com This error mostly means you're on Maven Plugin 2.16 or older, superseded by 2.17 since July 2017. Pleas

Re: Linting Jenkinsfile

2018-01-16 Thread Daniel Beck
> On 16. Jan 2018, at 11:00, Mayur Nagekar wrote: > > Thank you for looking into it. I checked /configure as the first > step but didn't find much there :( > Is it that I need some plugin to be installed for it ? > Since Jenkins 2.51 the SSHD port configuration is part of the security config

Re: StackOverflowException in Declarative with when { expression {} }

2018-01-15 Thread Daniel Beck
> On 15. Jan 2018, at 23:05, ST wrote: > > Any input appreciated! > Not sure but maybe pipeline steps like 'sh' aren't supposed to be used in when expression blocks? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: Can I load a declarative Jenkinsfile via a shared library?

2018-01-10 Thread Daniel Butler
I believe this was added a month or two ago. On 10 Jan 2018 6:33 pm, "Idan Adar" wrote: > Is the following feasible? > > 1. Setup a Shared Library in the Jenkins settings > 2. In every repository requiring the Jenkinsfile (it is the same one used > in multiple repos...), use the following in the

Re: Published Jenkins core javadoc for older versions?

2018-01-10 Thread Daniel Beck
> On 10. Jan 2018, at 14:06, Petr Široký wrote: > > I noticed the javadoc.jenkins.io contains only the very latest Javadoc. I > could not find a published version of the older ones. Is there place where > the older (e.g. 2.93) javadocs are published? I would find this very useful > as I don't

Re: Long delay sending emails

2018-01-03 Thread Daniel Becroft
lt options for the Active Directory plugin don't work for our environment, and we need to go down the LDAP configuration instead. Cheers, Daniel B. On Tue, Jan 2, 2018 at 10:54 AM Daniel Becroft wrote: > Thanks, Daniel. I've enabled the debug mode for email-ext to see what it &g

Re: Pipeline options incorrectly documented?

2018-01-02 Thread Daniel Beck
> On 2. Jan 2018, at 13:08, James Green wrote: > > What gives? Quoting that same page, > Pipeline provides a number of these options, such as buildDiscarder, but they > may also be provided by plugins, such as timestamps. This one requires the Timestamper plugin, which is installed by defaul

Re: Long delay sending emails

2018-01-01 Thread Daniel Becroft
Thanks, Daniel. I've enabled the debug mode for email-ext to see what it can provide. I'll also check out what the thread dump provides when the next build happens. On Tue, Jan 2, 2018 at 10:28 AM Daniel Beck wrote: > > > On 2. Jan 2018, at 01:26, Daniel Becroft wrote: &g

Re: Long delay sending emails

2018-01-01 Thread Daniel Beck
> On 2. Jan 2018, at 01:26, Daniel Becroft wrote: > > Are there any logs that I can look at specifically I think email-ext has a debug log option in the global preferences, but since it's a timing issue, https://wiki.jenkins-ci.org/display/JENKINS/Obtaining+a+thread+dump woul

Long delay sending emails

2018-01-01 Thread Daniel Becroft
he list of committers; or (b) resolving the email addresses via AD, or if the delay is somewhere else in the line? I'm getting the Network guys to investigate the AD side, but want to check the Jenkins side as well. Regards, Daniel. -- You received this message because you are subscribed to th

Re: How to limit Jenkins API response to last n build IDs

2017-12-21 Thread Daniel Beck
> On 21. Dec 2017, at 19:05, Raghav wrote: > > Above API returns all the build IDs. Is there a way to limit results to get > last 5 build IDS? See the documentation at the /api/ URL, section 'Controlling the amount of data you fetch'. -- You received this message because you are subscribed

Re: Build periodically not working in Jenkins v2.92

2017-12-20 Thread Daniel Beck
> On 20. Dec 2017, at 02:14, arunlakhanpal wrote: > > Does this point to anything? Those don't look like anything is wrong. That's from the server that doesn't start jobs on schedule? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsu

Re: Build periodically not working in Jenkins v2.92

2017-12-19 Thread Daniel Beck
> On 19. Dec 2017, at 23:46, arunlakhanpal wrote: > > Please share views/advise on the same to help me fix this. Check the /threadDump URL for timer/trigger related threads being busy, as well as the Jenkins log for errors related to timers/triggers. -- You received this message because you

Re: Tools update job on updates.jenkins.io seems to not be running (no updates since Dec 6th)

2017-12-15 Thread Daniel Beck
-ci.org/browse/INFRA-1428 but not one as easy to work around. I'll poke KK again. Daniel -- 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

Re: Artifacts Download as anonymous user

2017-12-14 Thread Daniel Beck
> On 14. Dec 2017, at 11:37, 'Christoph Rieß' via Jenkins Users > wrote: > > Then i configured (under /configureSecurity/) my ACL rules (see attached > screen). At least Overall/Read and Item/Read are also needed to access the job in question at all. This option enables another restriction,

Re: Jenkins overwriting config.xml on startup

2017-12-12 Thread Daniel Beck
> On 12. Dec 2017, at 23:13, Wendell Beckwith wrote: > > However, once I stop and restart jenkins then my changes are wiped out and > replaced with an empty element. Anything interesting in the jenkins.log during startup? -- You received this message because you are subscribed to the Google

Re: location of email-ext template file

2017-12-06 Thread Daniel Beck
> On 6. Dec 2017, at 19:42, Chris T wrote: > > So yes I do have config-file-provider plugin installed. Have you restarted Jenkins since you installed either of these plugins? Optional features may not be available otherwise. -- You received this message because you are subscribed to the Goog

RE: Translation between declaritive pipleline and groovy pipeline

2017-12-05 Thread Daniel Butler
If you use currentBuild.currentResult (was added a few months ago IIRC) you get a value that will never be null. From: jer...@bodycad.com Sent: 04 December 2017 17:06 To: Jenkins Users Subject: Re: Translation between declaritive pipleline and groovy pipeline You need to wrap your groovy code i

Re: Env Inject failure "Couldn't find the right download for WINDOWS and i386 combination"

2017-12-04 Thread Daniel Beck
> On 4. Dec 2017, at 17:53, Steve K wrote: > > We're not using a JDK tool in our builds. > > This has become a huge pain. I can see from your link that Oracle is > probably to blame, but I don't see where I can change Jenkins' mind about > what JDK to look for. > > Thanks again. There's li

RE: How can I inject environment variables into my groovy class?

2017-12-03 Thread Daniel Butler
er 1, 2017 at 9:08:12 AM UTC-5, Daniel Butler wrote: If you’re writing a groovy class that’s run from a library in the pipeline script then you’re not going to be able to use System.getEnv().   There’s a few approaches you can take that do work: • You can pass in the values you need as parameters to th

RE: Define a class inside a groovy pipeline?

2017-12-01 Thread Daniel Butler
up with a groovy file of methods you end up with class with the same name as the groovy file. Inside the class you can call pipeline steps and access the global variables like it’s a pipeline script. However I don’t think you can have anything other than a no-arg constructor. Regards, Dan

RE: How can I inject environment variables into my groovy class?

2017-12-01 Thread Daniel Butler
) Regards, Daniel. From: red 888 Sent: 29 November 2017 20:28 To: Jenkins Users Subject: Re: How can I inject environment variables into my groovy class? So this is a problem for me because the APIs I'm using in the groovy class are looking for OS level environment variables. Is there any w

Re: Problem with email notification

2017-11-30 Thread Daniel Beck
> On 30. Nov 2017, at 16:09, 'Ethan Larson' via Jenkins Users > wrote: > > But the email plugin is still trying to send to sysad...@ourcompanym.com. I'm > wondering where the hell it's getting that old address from. Is there some > cache or something I need to flush? Check the JENKINS_HOME/u

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: Why aren't these injected variables making it to my groovy class?

2017-11-21 Thread Daniel Butler
entVariableCredentialsProvider()) .build() On Monday, November 20, 2017 at 6:57:07 AM UTC-5, Daniel Butler wrote: By doing System.getenv() you're getting the environment of the Jenkins master process. The environment that will be used by any process run in the pipeline is available through t

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: 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: Why aren't these injected variables making it to my groovy class?

2017-11-20 Thread Daniel Butler
By doing System.getenv() you're getting the environment of the Jenkins master process. The environment that will be used by any process run in the pipeline is available through the built-in variable env. Regards, Daniel On 20 Nov 2017 2:14 am, "red 888" wrote: In my pipeline I&

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: 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: 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: How to disable Jenkins script console?

2017-11-13 Thread Daniel Beck
27; scripting even for admins, you'll need a plugin that does not grant Overall/Run Scripts to users who have Overall/Administer. I'm not aware of any plugins that do this currently, so you'll need to fork one and add this (Permission#impliedBy is final, so cannot be scripted awa

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: 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: 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: 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: 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-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: 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: 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: 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: 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-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-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-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: 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-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 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: [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: 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: Trying to set value using powershell, in declarative pipeline

2017-10-31 Thread Daniel Butler
The powershell step in pipeline is provided by the same plugin that provides the bat and sh steps. It's separate to the powershell plugin which is for freestyle jobs. On 31 Oct 2017 12:51 pm, "itchymuzzle" wrote: Doesn’t answer my original question, but is a valid work around. #! /usr/bin/e

Re: Using the same label multiple times in pipeline

2017-10-30 Thread Daniel Becroft
Thanks for the reply, Robert and Daniel. The actual workspace that I get is not an issue - I just need to get back to that agent in order to do some cleanup. My scenario is: node('A') => create and initialize a database, and start it on the port. Database is outside of the workspac

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: Using the same label multiple times in pipeline

2017-10-30 Thread Daniel Butler
ing on what you are doing, you may need to allocate a custom workspace (still not a guaranteed solution), move to a separate directory, stash/unstash the things you need between nodes, or some other solution.  On Sunday, October 29, 2017 at 8:51:02 PM UTC-6, Daniel Becroft wrote: Hi, I'm

Using the same label multiple times in pipeline

2017-10-29 Thread Daniel Becroft
e might be some cleanup tasks, etc that need to happen on the original node). Cheers, Daniel B. -- 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 jenkin

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: 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: 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

<    1   2   3   4   5   6   7   8   9   10   >