title: How to set multiple classpath in Maven build command (Jenkins)?
body: <p>Quick summary:<br>
  our testing project looks like this:</p>
  
  <pre><code>src/maindir/dir1/
  src/maindir/dir2/
  src/maindir/dir3/
  src/maindir/dir4/
  </code></pre>
  
  <p>If I want to set up job in Jenkins to build one of the directories, I just use 
  -Dclasspath=src/maindir/dir1</p>
  
  <p>If I want to set up job which will run all the feature files, I can use
  -Dclasspath=src/maindir</p>
  
  <p>Now my task is to set up job, which will run multiple - let´s say /dir1 and /dir2 in one job,
  something like -Dclasspath=src/maindir/dir1;src/maindir/dir2 (except this does not work lol, error is basically that path is invalid)</p>
  
  <p>My really trash idea was to try -Dclasspath=src/maindir/dir1 -Dclasspath=src/maindir/dir2 in one command, however as expected, it reads both classpaths but works with the latest one so it will run just ./dir2</p>
  
  <p>Could somebody help me with syntax? I dont use maven commands at all and I was unable to google classpath options and syntax to properly run this.
  Question is, if it is even possible to do it this way...</p>