declarative pod throwing error, following examples exactly...

2018-08-30 Thread Gabe Nydick
Config below, getting the error immediately below. I'm interpreting the error as the yaml is malformed, but it doesn't appear to be. hudson.remoting.ProxyException: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token at

declarative pipeline syntax seems limited, am I missing something?

2018-08-30 Thread Gabe Nydick
How do I replicate the following functionality? I can't seem to find a way def myRepo = checkout scm def gitCommit = myRepo.GIT_COMMIT def gitBranch = myRepo.GIT_BRANCH def shortGitCommit = "${gitCommit[0..10]}" def previousGitCommit = sh(script: "git rev-parse ${gitCommit}~", returnStdout:

jenkins jobs that uploads a file into a python container

2018-08-30 Thread 'matcho batcho' via Jenkins Users
0down votefavorite am new into *jenkins*. am trying to do a *jenkins job* that uploads a file into a *python container* and then *reload the container*. could you guys please help me --

Howto change the output/workspace of a git clone job?

2018-08-30 Thread Gorgonz ola
env: opensuse leap 15 well, I'm completely new in using jenkins. In fact I just did my first project, that only clones a specific git branch and thats it. This works fine and the files are copied to /var/lib/jenkins/workspace. But it is a website project, where I prefer /srv/www/htdocs/.

How do I send a raw TCP request from jenkins pipeline?

2018-08-30 Thread red 888
There is the excellent "httpRequest" I can use in a pipeline build step. But now I want to send a raw TCP request, I could not find a plugin for this. Is there a supported plugin feature for this? I want to avoid shelling out for this. This is an example of the raw TCP request I am making:

Re: Multibranch workflow pipeline and email notifications

2018-08-30 Thread Vitaly Karasik
Denis, thank you. You're right and "DevelopersRecipientProvider" does provide comitter's email. On Wednesday, August 29, 2018 at 3:21:17 PM UTC+3, Denis Mone wrote: > > I believe Jenkins gather the mail addresses from the commits. > If you have a stage that clones/updates your code see if there

Re: Is it possible to re-run init.groovy.d scripts whilst Jenkins is running?

2018-08-30 Thread Ewelina Wilkosz
Hi Edd, "reload existing configuration" won't restart your Jenkins, it takes a second, maybe a couple of seconds to apply new configuration but Jenkins is not going down regarding the API I encourage you to join our gitter chat room: https://gitter.im/jenkinsci/configuration-as-code-plugin