Multiple builds from one branch but different CSS values Looking for advice on how best to configure my workflow.

I have an application, that we currently customise for clients (white label) but our OLD devs have made the deployment of this very messy, multiple branches for each client. So merging is a nightmare and some clients are missing features etc.

The only difference between the clients version of our app, is some minor CSS changes and a couple of images.

We currently build with Jenkins and host with AWS Elastic Beanstalk.

What my question is, once we have merged and corrected the issues with the old developers. Am I able to trigger a single or multiple builds, from 1 branch and replace all the CSS values in my app and a couple of images? So we can just push to our master branch and build our production app and also all our clients white labels
If I correct understand Your problem, You want to build app with diffrent ccs and images.

Jenkins suports maven and simplest way is to use maven profiles plus maven-war-plugin 
eg.:

&lt;build&gt;
&lt;plugins&gt;
    &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
        &lt;configuration&gt;
            &lt;webResources&gt;
                &lt;webResource&gt;
                    &lt;directory&gt;src/main/profile/webapp/${images.folder}&lt;/directory&gt;
                    &lt;targetPath&gt;images&lt;/targetPath&gt;
                &lt;/webResource&gt;
            &lt;/webResources&gt;
        &lt;/configuration&gt;
    &lt;/plugin&gt;
&lt;/plugins&gt;




&lt;profiles&gt;
&lt;profile&gt;
    &lt;id&gt;prod_client_1&lt;/id&gt;
    &lt;properties&gt;
        &lt;images.folder&gt;prod_client_1&lt;/images.folder&gt;
    &lt;/properties&gt;
&lt;/profile&gt;
&lt;profile&gt;
    &lt;id&gt;prod_client_2&lt;/id&gt;
    &lt;properties&gt;
        &lt;images.folder&gt;prod_client_2&lt;/images.folder&gt;
    &lt;/properties&gt;
&lt;/profile&gt;




For other resources filtering maven-resources-plugin

At least should be helpful this approach sharing resources across projects