Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

adding conditionals to jobs/tasks

Jason
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 7, 2021

So i have a repo with two projects and a common folder

looks like thing like:

```
|

|-Proj1

|-Common

|-Proj2

```

 

Proj1 and Proj2 both include Common in their project files.

I'm trying to get CI to build smart here. 

IF (files in common were changed) {
     build both projects

} ELSE {
     IF (files in Proj 1 were changed) {

          build proj 1

    } ELSE {

          build proj 2

    }

}

 

Something like this. Any thoughts?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events