Hello,
I have a set of interdependent maven projects and release jobs for each of them. I'd like to call them in a sequence and have the pom dependency sections updated intermittently.
To illustrate, lets assume i have three projects A > B > C (A depends on B depends on C)
I'd like to do the following:
- Trigger Job for Release 'A'
- Update 'B' POM for 'A' dependency
- Trigger Job for Release 'B'
- Update 'C' POM for 'B' dependency
- Trigger Job for Release 'C'
I want to be able to represent this into a single flow/orchestration. I would like to use the existing release jobs and the maven versions plugin to update pom dependency sections.
I looked @ Build Flow Plugin but it doesn't seem to give me the option of executing a shell script so i can perform steps 2 and 4
Here is what i cannot do (due to our limitations)
- Implement A,B,C as maven modules instead of maven projects
- Refactor the existing release jobs and make a single workflow style job to release A,B and C.I would really like to use my existing jobs. I just want to tie them in a workflow i described earlier
I am wondering how others have accomplished this because i don't think my problem is that unique. Any pointers would help
Regards,
Rahul