Re: "Build whenever a SNAPSHOT dependency is built" with "Bitbucket Team/Project"

2018-01-08 Thread Stephen Connolly
On Tue 9 Jan 2018 at 07:16, 'Richard Hierlmeier' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > > I tried to setup a bunch of maven jobs as "Bitbucket Team/Project". In the > section "Scan Organization Folder Triggers" I selected the option "Build > whenever a SNAPSHOT dependency

Re: Bitbucket Branch Source URI

2018-01-08 Thread Stephen Connolly
Define the list of servers in the global config. Once you have more than one server then a drop-down will appear to allow selecting On Tue 9 Jan 2018 at 07:17, Andrew Spiers <7and...@gmail.com> wrote: > Hi, I'm trying to use the Bitbucket Branch Source plugin to scan for jobs > in a bitbucket

Re: How to use podTemplate in a declarative pipeline with the kubernetes-plugin.

2018-01-08 Thread Chris Willmore
Hi Tim, I have not run on Tectonic. However. I believe the issue is that the podTemplate / plugin does not support "runAsUser" (afaik). Using "runAsUser" would allow you to map the owner of the containerized build process to the user on the underlying host with docker access. Without

Bitbucket Branch Source URI

2018-01-08 Thread Andrew Spiers
Hi, I'm trying to use the Bitbucket Branch Source plugin to scan for jobs in a bitbucket server instance. For the life of me I can't see where to add the URL for the Bitbucket Server instance. The new job / new item configuration window does not look much like the screenshots on the User Guide

"Build whenever a SNAPSHOT dependency is built" with "Bitbucket Team/Project"

2018-01-08 Thread 'Richard Hierlmeier' via Jenkins Users
I tried to setup a bunch of maven jobs as "Bitbucket Team/Project". In the section "Scan Organization Folder Triggers" I selected the option "Build whenever a SNAPSHOT dependency is built". In the Bitbucket project I have two GIT repos. One for module A and one for module B. Module B has a

Re: sbt 1.x tool fails to install

2018-01-08 Thread Adam Shannon
Actually, I found out that they offer .zip files for download. Let's try this fix first https://github.com/jenkins-infra/crawler/pull/68 On Monday, January 8, 2018 at 2:59:48 PM UTC-6, Adam Shannon wrote: > > Last week I updated the sbt crawler[0] to pull down 1.x releases. They're > on a new

sbt 1.x tool fails to install

2018-01-08 Thread Adam Shannon
Last week I updated the sbt crawler[0] to pull down 1.x releases. They're on a new download site. The archive format also changed (was zip, now runnable jar). It seems the sbt plugin[1] is failing because it's trying to unpack the archive, when it should just attempt to run. (Only for 1.x)

Re: (Pipelines) String split; why isn't this working?

2018-01-08 Thread Slide
FYI, you want pieces.length, not pieces.size.String.split returns a String[], which you get the length of using .length https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#split(java.lang.String) On Mon, Jan 8, 2018 at 1:01 PM Slide wrote: > This is off

Re: (Pipelines) String split; why isn't this working?

2018-01-08 Thread Slide
This is off topic of what you are asking, but why not just use context.echo instead of context.sh? Also, use string interpolation: context.echo "first element ${pieces[0]}" Note: you must use double quotes for this to work. Also, you can def and assign on the same line: def pieces =

(Pipelines) String split; why isn't this working?

2018-01-08 Thread Peter Berghold
Given an input of: /data/ci/jenkins/workspace/PeterBLaboratory/Test-unittestlibobjs-10/somesubdir/somefile.txt I have a function: def basename(path){ def pieces pieces = path.split("/") context.sh 'echo first element: ' + pieces[0] context.sh 'echo path: '

Re: Ionic command doesn't works for jenkins job

2018-01-08 Thread Francesco Sisca
ok thanks for the advice Il giorno lunedì 8 gennaio 2018 20:11:57 UTC+1, Victor Martinez ha scritto: > > It looks like this is not an issue within Jenkins itself but the agent > configuration. I'm afraid you need to install all the specific requirements > in the agent and I'm not sure if those

Re: Ionic command doesn't works for jenkins job

2018-01-08 Thread Victor Martinez
It looks like this is not an issue within Jenkins itself but the agent configuration. I'm afraid you need to install all the specific requirements in the agent and I'm not sure if those env variables refers to the same machine or two different ones. Therefore, whoever owns that particular agent

Re: How to use podTemplate in a declarative pipeline with the kubernetes-plugin.

2018-01-08 Thread Tim Zhukov
Hi, Have anyone deployed a jenkins on CoreOs Tectonic? I'm experimenting with a docker build container and I can't figure out how to run it as jenkins user instead of root. I figured out that I need to give jenkins user access to host's docker group, but before I start sshing on the node and

How appropriate is Jenkins for my task?

2018-01-08 Thread Chris Akins
Hi all, quick question from a hopeful new user. I'm working on a script to convert a script suite between languages. At a high level, it looks like: parse_tree=parse_gmc(in_path) transformed=transform(parse_tree) output_python(transformed, out_path) success=True if python_compiles(out_path):

Re: Ionic command doesn't works for jenkins job

2018-01-08 Thread Francesco Sisca
Thanks for the answer! this is ENV PATH for the owner (masdev). Mac-mini-di-masdev:mobilehub-reference-application masdev$ echo $PATH

Re: Ionic command doesn't works for jenkins job

2018-01-08 Thread Victor Martinez
It sounds a kind of environmental issue with the PATH env variable. You can confirm how that particular PATH env variable looks like in your local and also within Jenkins, then you can set it accordingly,. Cheers -- You received this message because you are subscribed to the Google Groups

Ionic command doesn't works for jenkins job

2018-01-08 Thread Francesco Sisca
Hello everyone, i'm in trouble about some jenkins stuff. I have a hybrid application, and i need to setup automatic build for that. i follow those steps to build the app. npm i ionic cordova platform add android --no-interactive ionic cordova build android --prod --no-interactive and that's

not possible to send email after junit set build to UNSTABLE

2018-01-08 Thread ka51m1r
Hi everybody, we are currently working on the pipelines for our build environment. In our old job, the job was set to unstable, if the junit report plugin find some failing tests in the results and send an email to a specific user group. Please have a look to the added screenshot for the old

Trigger a downstream project on demand

2018-01-08 Thread Versal Eszett
Given the following situation - *main-job* builds and tests a project - *installer-job* copies artifacts from *main-job*, and packages them into an installer *installer-job* is set as downstream project of *main-job* via Parameterized Trigger Plugin

Re: Groovy code in Pipeline and CPS trouble

2018-01-08 Thread Ramanathan Muthaiah
> > > Reading (novice at it) the stacktrace suggests it's to do with > serialization > > of variables but the annotation should take care of that, isn't it ? > > > > an exception which occurred: > > in field groovy.lang.Closure.delegate > > in object