sshget is showing the entire contents of the file in console output log

2020-05-05 Thread cw
When executing the following in a scripted pipeline: sshGet remote: soc_remote, from: "/srv/jboss/server/${MAL}/log/${sourcefile}", into: FileName, override: true The file is downloaded successfully from the remote server into the local directory on the Jenkins server. However, the console

Jenkins is the Way initiative

2020-05-05 Thread Alyssa Tong
Hi All, Last week we rolled out "Jenkins is the Way" initiative, inviting users to share their Jenkins stories highlighting the great things our community is doing with Jenkins. If you haven't read the blog, I invite you to do so and

Re: LTS upgrade 2.204.5 > 2.222.3 ClassNotFoundException on JnlpProtocol1Handler

2020-05-05 Thread Brian Ray
As luck would have it I re-upgraded without issue. No recurrence of the protocol handler classload exception. But in the meantime I did hit upon a logging configuration that might have pointed to the culprit. Here's a logging.properties file you can feed to Jenkins via the method at the end of

Bitbucket Server Integration with Jenkins Shared Library

2020-05-05 Thread Bruce Coveny
Sorry in a long post. We are utilizing a newer plugin Bitbucket Server Integration ( https://plugins.jenkins.io/atlassian-bitbucket-server-integration/). Along with using a Jenkins Shared Library pulled from SCM as well ( https://www.jenkins.io/doc/book/pipeline/shared-libraries/) which is

Re: Poll scm in specific branch only

2020-05-05 Thread Aryo Kusumo
Maybe you could try this. It's works for me. checkout([$class: 'GitSCM', branches: [[name: '$branch_name']], extensions: [[$class: 'WipeWorkspace'], url: '$git_url']]]) On Tue, 5 May 2020, 20:15 Den, wrote: > Hello, > > I have a pipeline which should only build if there are changes in branch

Re: Windows Event - Git Credentials Manager - System.UriFormatException: Invalid URI: The hostname could not be parsed.

2020-05-05 Thread Bruce Coveny
After much searching a couple of months ago it was determined this was a flaw in the Git for Windows version being utilized. Updating the Git for Windows resolved the problems in case anyone runs into these issues in the future. On Tuesday, October 29, 2019 at 11:52:27 AM UTC-4, Bruce Coveny

Poll scm in specific branch only

2020-05-05 Thread Den
Hello, I have a pipeline which should only build if there are changes in branch specified. It builds however every 5 minutes, since there are changes in master. Is there a way to poll scm only for a branch? Den pipeline { agent none triggers { pollSCM('H/5 * * * *') }