zowe / jenkins-library

Jenkins Pipeline Library
https://zowe.github.io/jenkins-library
Eclipse Public License 2.0
52 stars 39 forks source link

It is possible to combine multiple pipelines? #56

Open rubentacastro02 opened 4 years ago

rubentacastro02 commented 4 years ago

Hi,

It is possible to combine NodeJs Pipeline and Docker Pipeline in the same JenkinsFile to run sequential in the same Pipeline ?

Many thanks!

jackjia-ibm commented 4 years ago

@rubentacastro02 it's great question. It's possible to also initiate org.zowe.jenkins_shared_library.docker.Registry and use it's build/tag/publish methods. But apparently it requires some code. It will be great to add native support for docker image build/publish stage to nodejs/gradle pipeline. Just like those pipelines have native support to publish artifacts to Artifactory, docker image is a new kind of project build result.

If you like to hack the pipeline before the native support is added, please feel free to contact me.