Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,059
Community Members
 
Community Events
168
Community Groups

adding conditionals to jobs/tasks

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

Atlassian Community Events