Skip to main content
clarify the directory layout and make the question more apparent.
Source Link

I'm currently working on a Microservice architecture-based project and writing Jenkins Pipeline for it.

The project structure is as follows:

Web Service (master)

  • WebJenkinsfile
  • Service (master)1/
  • Jenkinsfile
  • Service 12/
  • Service 2/Jenkinsfile
  • Service 3/
  • Jenkinsfile

Within each Service, there will be a Jenkinsfile that contains information on building and testing for the specific service.

How do I use the Jenkinsfile on the base directory to build and test each individual Services before running integration test on a cross service level ?

I've been trying to look for ways to implement this, but the build seems to target project level, it is said to be able to process relative file path but I haven't had much success with it.

I have tried loading, but load seems to be made for groovy file, which doesn't seem to fit the requirement.

I'm currently working on a Microservice architecture-based project and writing Jenkins Pipeline for it.

The project structure is as follows:

  • Web Service (master)/
  • Jenkinsfile
  • Service 1/
  • Service 2/
  • Service 3/

Within each Service, there will be a Jenkinsfile that contains information on building and testing for the specific service.

How do I use the Jenkinsfile on the base directory to build and test each individual Services before running integration test on a cross service level ?

I've been trying to look for ways to implement this, but the build seems to target project level, it is said to be able to process relative file path but I haven't had much success with it.

I have tried loading, but load seems to be made for groovy file, which doesn't seem to fit the requirement.

I'm currently working on a Microservice architecture-based project and writing Jenkins Pipeline for it.

The project structure is as follows:

Web Service (master)

  • Jenkinsfile
  • Service 1/
  • Jenkinsfile
  • Service 2/
  • Jenkinsfile
  • Service 3/
  • Jenkinsfile

Within each Service, there will be a Jenkinsfile that contains information on building and testing for the specific service.

How do I use the Jenkinsfile on the base directory to build and test each individual Services before running integration test on a cross service level ?

I've been trying to look for ways to implement this, but the build seems to target project level, it is said to be able to process relative file path but I haven't had much success with it.

I have tried loading, but load seems to be made for groovy file, which doesn't seem to fit the requirement.

clarify the directory layout and make the question more apparent.
Source Link

I'm currently working on a Microservice arch basedarchitecture-based project and writing Jenkins Pipeline for it

Project Structure.

Web Service (master)The project structure is as follows:

  • Web Service (master)/
  • Jenkinsfile
  • Service 1/
  • Service 2/
  • Service 3/

Within each Service, there will be a Jenkinsfile that contains information on building and testing for the specific service.

How do i use the Jenkinsfile on the base directory to build and test each individual Services before running integration test on a cross service level ?How do I use the Jenkinsfile on the base directory to build and test each individual Services before running integration test on a cross service level ?

I've been trying to look for ways to implement this,

  but the build seems to target project level, it is said to be able to process relative file path but iI haven't had much success with it.

I have tried loading, but load seems to be made for groovy file, which doesn't seem to fit the requirement.

I'm currently working on a Microservice arch based project and writing Jenkins Pipeline for it

Project Structure

Web Service (master)

  • Jenkinsfile
  • Service 1
  • Service 2
  • Service 3

Within each Service, there will be a Jenkinsfile that contains information on building and testing for the specific service

How do i use the Jenkinsfile on the base directory to build and test each individual Services before running integration test on a cross service level ?

I've been trying to look for ways to implement this,

  build seems to target project level, it is said to be able to process relative file path but i haven't had much success with it.

load seems to be made for groovy file, which doesn't seem to fit the requirement

I'm currently working on a Microservice architecture-based project and writing Jenkins Pipeline for it.

The project structure is as follows:

  • Web Service (master)/
  • Jenkinsfile
  • Service 1/
  • Service 2/
  • Service 3/

Within each Service, there will be a Jenkinsfile that contains information on building and testing for the specific service.

How do I use the Jenkinsfile on the base directory to build and test each individual Services before running integration test on a cross service level ?

I've been trying to look for ways to implement this, but the build seems to target project level, it is said to be able to process relative file path but I haven't had much success with it.

I have tried loading, but load seems to be made for groovy file, which doesn't seem to fit the requirement.

Source Link

Jenkinsfile for monorepo & monobranch

I'm currently working on a Microservice arch based project and writing Jenkins Pipeline for it

Project Structure

Web Service (master)

  • Jenkinsfile
  • Service 1
  • Service 2
  • Service 3

Within each Service, there will be a Jenkinsfile that contains information on building and testing for the specific service

How do i use the Jenkinsfile on the base directory to build and test each individual Services before running integration test on a cross service level ?

I've been trying to look for ways to implement this,

build seems to target project level, it is said to be able to process relative file path but i haven't had much success with it.

load seems to be made for groovy file, which doesn't seem to fit the requirement