Pipeline: Global Library added to revisions

2017-10-05 Thread Sverre Moe
We have been using Global Pipeline Libraries stored at the jenkins server in workflowLibs directory. Now I have moved this repository to our remote git server and added the library in Jenkins configuration. I have checked "*Load implicitly" and* unchecked "*Include @Library changes in job recen

Using params.item in agent docker section ...

2017-10-05 Thread Eric Tan
Hi Is there a way to use parameters in the agent docker section like: pipeline { parameters { string(name: 'OS_PORT', defaultValue: '') string(name: 'CONTAINER_PORT', defaultValue: '') } agent { docker { image 'someimage'

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

2017-10-05 Thread Eric Tan
Thanks Daniel and Ishan! -- 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

JClouds with EC2 ignoring specified subnets?

2017-10-05 Thread Andrew Grimberg
Greetings folks, I'm trying to get the JClouds plugin to bring up instances on EC2 under a different VPC than the default. I've got a specific security group configured attached to the correct VPC and the when the instance is being brought up it tries to use that, however no matter what I do, spec

Re: Z/OS Connector; return results to Jenkins from a secondary job

2017-10-05 Thread rsjrny
follow the instructions at: https://wiki.jenkins.io/display/JENKINS/IBM+zOS+Connector in the source manager you can select None if you do not want to interface with the source manager On Wednesday, April 5, 2017 at 9:50:34 AM UTC-4, Patricio Iglesias wrote: > > Im trying to invoke a JCL with n

Re: Trying to use CopyArtifact in declarative pipeline

2017-10-05 Thread dandeliondodgeball
Ok, finally got it. This worked. script { step ([$class: 'CopyArtifact', projectName: 'Create_Infrastructure_archive']); } -- 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,

Re: “Copy artifacts from another project” and Jenkinsfiles are exclusive, correct?

2017-10-05 Thread dandeliondodgeball
Moved this to new post https://groups.google.com/forum/#!topic/jenkinsci-users/OU8Kzl6CJXk -- 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+unsu

Trying to use CopyArtifact in declarative pipeline

2017-10-05 Thread dandeliondodgeball
Original post: https://groups.google.com/forum/#!topic/jenkinsci-users/n1oqnnW1A98 So this worked (scripted) node { step ([$class: 'CopyArtifact', projectName: 'Create_Infrastructure_archive']); This doesn't break, but nothing happens (declarative). pipeline { agent any stage

Re: Failed to connect to http://jenkins.build-env.svc.cluster.local:8080/tcpSlaveAgentListener/: jenkins.build-env.svc.cluster.local

2017-10-05 Thread Carlos Sanchez
you are correct your kubernetes DNS can't resolve the name, assuming you have a service jenkins in the build-env namespace On Thu, Oct 5, 2017 at 4:09 PM, WANG, YAN-HONG wrote: > Hello, > > My environment: > Jenkins: 2.73.1 > Jenkins plugin (kubernetes: *1.0*). > Kuberntes Server: *v1.7.7* ( One

Re: How alert users of failed tests when running Jenkins locally?

2017-10-05 Thread Mark Waite
I think you should choose a communication system that users already use, and publish results to that communication system. If those who need to be notified are regular users of Slack (or HipChat or ...), connect those Jenkins instances to the messaging app and send messages to the committer. If th

Re: ERROR: Processing failed due to a bug in the code.

2017-10-05 Thread Mark Waite
That failure message is unrelated to git. The message "java.lang.RuntimeException: java.lang.IllegalArgumentException: No matching Artifactory server was found in General Configuration. Please update your job configuration." seems to indicate that some method which expects an artifactory server to

Re: ERROR: Processing failed due to a bug in the code.

2017-10-05 Thread Charles Karney
I'm running Jenkins 1.589. On Thursday, October 5, 2017 at 10:32:20 AM UTC-4, Charles Karney wrote: > > Triggering a Jenkins build on a job that has "usually" worked gives: > > ERROR: Processing failed due to a bug in the code. Please report this > to jenkinsci-users@googlegroups.com > > Th

How alert users of failed tests when running Jenkins locally?

2017-10-05 Thread Anna Freiholtz
If you setup Jenkins on local machines running tests on commits in the local repository, how do you alert the users of failed tests? I don't want them to have to check Jenkins for themselves. I know when I am working I can get so into it I probably won't remember to check if my commit failed te

ERROR: Processing failed due to a bug in the code.

2017-10-05 Thread Charles Karney
Triggering a Jenkins build on a job that has "usually" worked gives: ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com The log up to this point is Started by user Charles Karney [EnvInject] - Loading node environment variables. Bu

Failed to connect to http://jenkins.build-env.svc.cluster.local:8080/tcpSlaveAgentListener/: jenkins.build-env.svc.cluster.local

2017-10-05 Thread WANG, YAN-HONG
Hello, My environment: Jenkins: 2.73.1 Jenkins plugin (kubernetes: *1.0*). Kuberntes Server: *v1.7.7* ( One master and one minion) Platform: Ubuntu 16.04 (in *Synnefo *cluster environment) When I execute pipeline job with kubernetes plugin in Jenkins environment. The slave-jksnf-q6dlr is stay in

Can Jenkins be configured to build and deploy Workday HCM integrations automatically.

2017-10-05 Thread Prashanth Gopawar
Can Jenkins be configured to build and deploy Workday HCM integrations automatically. Has anyone used Continuous integration and Continuous deployment model using Jenkins to build and deploy Workday HCM integrations or business processes automatically. Please advise if anyone has already taken

Re: Another CLI question

2017-10-05 Thread Riccardo Foschia
Am 04.10.2017 um 22:37 schrieb Richard Ginga: Hi Michael, thanks for the response, nothing in my nginx configuration indicates any buffering explicitly one way or the other. Richard, just in case you are using any kind of anti-virus software on the machine executing the CLI commands, it's pr

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

2017-10-05 Thread Riccardo Foschia
After some research we found the problem: it was the anti-virus software because it damaged the HTTP responses. After disabling the HTTP scanning feature everything worked fine. Thanks to all for their help! Am 04.10.2017 um 13:50 schrieb Riccardo Foschia: Hi all, after an upgrade of Jenkin

How to remove Blue Ocean from email links?

2017-10-05 Thread Flominator
Hi there, since we started using Blue Ocean some of the notification emails on failed builds (at least the ones with "still failing" or "still unstable") contain URLs that lead to a Blue Ocean page. Since some of our users are using the console log parser plugin, they would prefer to see that o

AW: In a shared library, what is the "vars/foo.txt" file USED for?

2017-10-05 Thread Reinhold Fuereder
Please note the PipelineSyntax/Global Variables Reference page is ONLY updated when the pipelines run is successful. And therefore ONLY for this pipeline (and not any others). I think even if for "vars/file.groovy" there is no corresponding "vars/file.txt", then the PipelineSyntax/Global Variab

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

2017-10-05 Thread ishan jain
Hi, It is very much possible, as mentioned in the documentation. In fact it is very much required in my case. On Wednesday, 4 October 2017 09:00:37 UTC+2, Eric Tan wrote: > > Hi, > > Is it possible to mix declarative and scripted pipeline syntax in one > Jenkinsfile ? > > For example, there is

RE: LDAP and systemctl jenkins restart

2017-10-05 Thread Joaquin Henriquez
Hi List The issue was related to the directory /var/lib/jenkins/init.groovy.d That contain a groovy script which I use it for the first time installation. It seems it runs all the time Jenkins is restarted (even with a plugin installation restart) Thk List. From: jenkinsci-users@googlegroups.

Re: Bitbucket Branch Source Plugin & Endpoints

2017-10-05 Thread Richard Bywater
Thanks for the pointer - I'll see if I can fit in some time to whip something up. Richard. On Thu, 5 Oct 2017 at 21:57 Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > If you want to take a stab at a PR, the relevant code you'd need to modify > is: > > > https://github.com/jenkinsci/

Re: Bitbucket Branch Source Plugin & Endpoints

2017-10-05 Thread Stephen Connolly
If you want to take a stab at a PR, the relevant code you'd need to modify is: https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/master/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketGitSCMBuilder.java#L176-L187 and https://github.com/jenkinsci/bitbucket-branch-sou

Re: Bitbucket Branch Source Plugin & Endpoints

2017-10-05 Thread Richard Bywater
Will do! Thanks Richard. On Thu, 5 Oct 2017 at 21:20 Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Oversight. Please file a ticket in JIRA > > On 4 October 2017 at 20:46, Richard Bywater wrote: > >> Hi >> >> One of my colleagues is trying to get Jenkins 2 up and running with the

Why my tests in parallel don't finish the same way as sequential

2017-10-05 Thread Ana MB
Hi guys! I'm running tests from my Jenkins and I've realized that if I run one only test, the result is SUCCESS; but if I run three tests in parallel, that test doesn't finish SUCCESS, it gets timeout. My docker configuration is: *version: "2"* *services:* * selenium:* *networks:* *

Re: Bitbucket Branch Source Plugin & Endpoints

2017-10-05 Thread Stephen Connolly
Oversight. Please file a ticket in JIRA On 4 October 2017 at 20:46, Richard Bywater wrote: > Hi > > One of my colleagues is trying to get Jenkins 2 up and running with the > Bitbucket Branch Source plugin using our Bitbucket Server infrastructure. > > We've run into an issue with the plugin as i