Re: 'Include' a shared library pipeline in other pipelines in the same shared library

2019-10-03 Thread ZillaYT
I'm guessing you've looked at this already https://jenkins.io/blog/2017/10/02/pipeline-templates-with-shared-libraries/ On Monday, September 30, 2019 at 3:35:30 AM UTC-4, Kaliyug Antagonist wrote: > > I have several microservices which use the same pipeline from a shared > library

Re: 'Include' a shared library pipeline in other pipelines in the same shared library

2019-09-30 Thread Kaliyug Antagonist
*Note:* - The workspace(where the clone stag checks out the code and later stages operate) will be used by awsPipeline etc. In other words, the variables and results from the gradleProjectBranchWrapper should be accessible to the awsPipeline etc. - There is a post block in the

Re: 'Include' a shared library pipeline in other pipelines in the same shared library

2019-09-30 Thread Kaliyug Antagonist
On Monday, September 30, 2019 at 9:35:30 AM UTC+2, Kaliyug Antagonist wrote: > > I have several microservices which use the same pipeline from a shared > library which is > named *jenkins-shared-pipelines* . The Jenkinsfile for a

'Include' a shared library pipeline in other pipelines in the same shared library

2019-09-30 Thread Kaliyug Antagonist
I have several microservices which use the same pipeline from a shared library which is named *jenkins-shared-pipelines* . The Jenkinsfile for a microservice is as follows: @Library(['jenkins-shared-pipelines']) _