Problem with FilePath.act() in custom pipeline step

2018-02-27 Thread 'Richard Hierlmeier' via Jenkins Users
I like to perform in a custom pipeline step some file operations on the slave node The pipeline step calls the method doRemote: def doRemote() { def repoDir = createFilePath("dir_in_repo") def callable = new MasterToSlaveFileCallable() { private static final long serial

Re: Gitflow and triggering snapshot dependencies for maven multimodule builds

2018-01-12 Thread 'Richard Hierlmeier' via Jenkins Users
It seems that this is a known problem. I found the following Jira issue: JENKINS-47996 Am Freitag, 12. Januar 2018 11:55:22 UTC+1 schrieb Richard Hierlmeier: > > > I try to setup Jenkins Job for a Maven multimodule build. The development > t

Gitflow and triggering snapshot dependencies for maven multimodule builds

2018-01-12 Thread 'Richard Hierlmeier' via Jenkins Users
I try to setup Jenkins Job for a Maven multimodule build. The development team likes to follow a gitflow workflow. - We use a Bitbucket Team Project - We have a develop branch that builds and deploys the SNAPSHOT versions to nexus. - Each feature is developed in a separate featu

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

2018-01-12 Thread 'Richard Hierlmeier' via Jenkins Users
mavenLocalRepo: '.repository' > ) { > bat "mvn clean deploy" > } > } > } > } > } > > don't use a script block > > On 9 January 2018 at 10:45, 'Richard Hierlmeier' via

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

2018-01-09 Thread 'Richard Hierlmeier' via Jenkins Users
ne images 1] > > So I'd guess you just add snapshotDependencies() to your triggers as you > are using declarative syntax. > > On 9 January 2018 at 06:54, 'Richard Hierlmeier' via Jenkins Users < > jenkins...@googlegroups.com > wrote: > >> >> Hi Stephen, >&g

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

2018-01-09 Thread &#x27;Richard Hierlmeier&#x27; via Jenkins Users
Hi Stephen, do you have an example for me how to define such a trigger? Thank you Richard Am Dienstag, 9. Januar 2018 08:16:06 UTC+1 schrieb Richard Hierlmeier: > > > I tried to setup a bunch of maven jobs as "Bitbucket Team/Project". In the > section "Scan Organization Folder Triggers"

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

2018-01-08 Thread &#x27;Richard Hierlmeier&#x27; 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 Mave

Re: Pipeline and Maven dependency build trigger

2016-11-24 Thread &#x27;Richard Hierlmeier&#x27; via Jenkins Users
ou > may have some issues by managing everything automatically. If several > branches of the same project are publishing the artifacts with the same > identity/version you may mix-up everything in you repository manager (or > the space you are using to share your bina

Re: Pipeline and Maven dependency build trigger

2016-11-23 Thread &#x27;Richard Hierlmeier&#x27; via Jenkins Users
AFAIK there is no > project / work in progress :( > > On Wed, Nov 23, 2016 at 4:43 PM, 'Richard Hierlmeier' via Jenkins Users < > jenkins...@googlegroups.com > wrote: > >> >> Hi Arnaud, >> >> we are i the same situation as Dan. Is there a pro

Re: Pipeline and Maven dependency build trigger

2016-11-23 Thread &#x27;Richard Hierlmeier&#x27; via Jenkins Users
Hi Arnaud, we are i the same situation as Dan. Is there a project or plugin planed or in progress? -- Richard Am Dienstag, 21. Juni 2016 12:32:48 UTC+2 schrieb Arnaud Héritier: > > Hi Dan, > > No it isn't possible. There is no integration of the maven plugin with > pipeline. > This featur