Re: Linting Jenkinsfile

2018-01-15 Thread Dirk Heinrichs
Am 16.01.2018 um 08:34 schrieb Mayur Nagekar: > | > bash:declarative-linter:command notfound > | Is the directory containing declarative-linter in your $PATH? HTH...     Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri..

Re: Linting Jenkinsfile

2018-01-15 Thread niristotle okram
Somethings that you need to add in your help request: 1. How are connecting to the server cli/curl? 2. What kind of jenkinsfile your are attempting to lint? Declarative or scripted pipeline? On Tue, Jan 16, 2018 at 1:34 AM Mayur Nagekar wrote: > Hello all, > > I have been trying to find a way to

Linting Jenkinsfile

2018-01-15 Thread Mayur Nagekar
Hello all, I have been trying to find a way to lint Jenkinsfile and came across https://jenkins.io/doc/book/pipeline/development/#linter but this hasn't helped unfortunately. Every time I try to run the command, I get bash: declarative-linter: command not found Looks like there are some additi

Re: Security Access Violation?

2018-01-15 Thread Oleg Nenashev
Please create a bug to Script Security plugin. All "unclassified Something" issues are defects in the Sandbox and Script Security engine which need to be fixed понедельник, 15 января 2018 г., 19:08:13 UTC+1 пользователь Peter Berghold написал: > > Anybody know what the heck this means and how to

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: How to upload a file from Jenkins to Github Automatically using Java

2018-01-15 Thread Mark Waite
I think it is more common to upload status reports for GitHub pull requests as comments on the pull request, rather than uploading the report file as a commit. If you're willing to try that technique, then you might consider the Violation Comments to GitHub plugin

How to upload a file from Jenkins to Github Automatically using Java

2018-01-15 Thread Raju Arelli
Team, I have a requirement-- As soon the Jenkins build got completed, report file should be uploaded into the Git repository. Can someone help me with the steps to do that. Thanks! Regards, Raju Arelli -- You received this message because you are subscribed to the Google Groups "Jenkins Us

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

2018-01-15 Thread ST
Some additional info: The Jenkins log file reports the same StackOverflowException, and in addition also reports this exception: Jan 15, 2018 11:07:46 PM org.jenkinsci.plugins.workflow.job.WorkflowRun finish INFO: MY_MULTIBRANCH-PIPELINE/master #253 completed: FAILURE Jan 15, 2018 11:07:46 PM org.

StackOverflowException in Declarative with when { expression {} }

2018-01-15 Thread ST
I am seeing a StackOverflowException in org.jboss.marshalling.river.RiverMarshaller in a declarative Jenkins pipeline. The interesting thing is that it occurs *only* just after having restarted the Jenkins instance. After building it once or twice, the next build usually works fine. Also when waiti

Jenkins Docker Plugin with custom registry

2018-01-15 Thread Markus Petzsch
Hello List, I am trying to provision jenkins build slaves (docker templates) on demand with the docker plugin. The build images are stored in a local registry which requires credentials. Now I came across the following screenshot where the user was able to specify the custom registry: https://use

Security Access Violation?

2018-01-15 Thread Peter Berghold
Anybody know what the heck this means and how to fix it? org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified new com.att.ncs.entities.PerlApplication WorkflowScript org.codehaus.groovy.runtime.GStringImpl java.lang.String java.lang.String java.lang.String at

Open Blue Ocean keeps asking for password to admin user

2018-01-15 Thread Thiago Carvalho D Avila
Hi, I have latest LTS of jenkins 2.89.2 with latest Blue Ocean Plugin 1.3.5. When I click on "Open Blue Ocean" it asks for login and password, the I put it again and the password popup reshows until I get the error: Authorization Required. Is it an open issue? Thanks, Thiago D'Ávila -

Not able to execute a jenkins job from remote

2018-01-15 Thread Vivek Vvk
Hi All, Our jenkins node is sso enabled. When I try to remotely execute a jenkins job using curl with the api keys or token, I get 302 error. The url redirects to the sso page. Anyone faced similar problem before. Any solution here is much appreciated. Thanks. Regards, Vivek -- You received

Re: Disable withMaven publishers default configuration

2018-01-15 Thread ncosta
> > I still think that when pipeline-maven auxiliar plugins are not installed, > it shouldn't display that information on console log, when using this > logger: > org.jenkinsci.plugins.pipeline.maven > > On logger output, one can see that the findbugs plugin is not found and > jgiven is not eve

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

2018-01-15 Thread Johan-Kees
Been a while, but I can confirm that upgrading all plug-ins and the application to v2.89.2, did resolve the issue. On Friday, November 17, 2017 at 11:44:24 AM UTC+1, Johan-Kees wrote: > > Thanks for the link. Checked it and related links. Looks like an upgrade > is the only way to go forward...