Hello!

I have two separate questions so I'll ask the other in separate email
to follow.

This is my current Jenkinsfile that's shared between about eighty
projects via a Git submodule:

https://raw.githubusercontent.com/io7m/jenkinsfiles/50d80c92c8a51df11b7970ebbdbae7611dc8ac51/com.io7m.jenkins.github.txt

The "parallel" section appears redundant, but that's because I
previously built my code on JDK 9, JDK 10, and JDK 11 in parallel. I
recently moved to using only JDK 11, but left the parallel block there
as it seemed harmless. I will shortly add JDK 12, so it will once
again serve some purpose.

My problem: I've been trying to set up JMS notifications in a "post"
section. Only the "mustard" node has permission to talk to my message
broker, so the notification task is restricted to running there. The
problem is that it may not have been the node that did the initial
build, and so it won't necessarily have checked out the Git repository
containing the notify.sh script.

Is there some way I can express, in the pipeline, that the "post"
section needs a copy of the Git repository too?

For the record: I've tried the JMS messaging plugin in Jenkins but gave
up after spending hours trying and failing to get it to work.

-- 
Mark Raynsford | http://www.io7m.com

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/20190623171722.463eb865%40almond.int.arc7.info.
For more options, visit https://groups.google.com/d/optout.

Attachment: pgpfLmFEBOLL4.pgp
Description: OpenPGP digital signature

Reply via email to