Run Gatling in CI with parameters

Hello, guys.

I’m trying to setup Gatling for CI via Jenkins in Unix machine.
How I send gatling.sh parameters? I mean, scenario name, description and other.

Because now job failed, due to no input detected.

11:28:52 GATLING_HOME is set to //G15_Univ_Linux/gatling
11:29:20 Choose a simulation number:
11:29:20 [0] scenario1
11:29:20 [1] scenario2
11:29:20 [2] scenario3
11:29:20 Exception in thread “main” java.io.EOFException: Console has reached end of input
11:29:20 at scala.Console$.readInt(Console.scala:354)
11:29:20 at com.excilys.ebi.gatling.app.Gatling.selectSimulationClass(Gatling.scala:157)
11:29:20 at com.excilys.ebi.gatling.app.Gatling.com$excilys$ebi$gatling$app$Gatling$$interactiveSelect(Gatling.scala:123)
11:29:20 at com.excilys.ebi.gatling.app.Gatling$$anonfun$15$$anonfun$18.apply(Gatling.scala:100)
11:29:20 at com.excilys.ebi.gatling.app.Gatling$$anonfun$15$$anonfun$18.apply(Gatling.scala:100)
11:29:20 at scala.Option.getOrElse(Option.scala:108)
11:29:20 at com.excilys.ebi.gatling.app.Gatling$$anonfun$15.apply(Gatling.scala:100)
11:29:20 at com.excilys.ebi.gatling.app.Gatling$$anonfun$15.apply(Gatling.scala:94)
11:29:20 at scala.Option.getOrElse(Option.scala:108)
11:29:20 at com.excilys.ebi.gatling.app.Gatling.start(Gatling.scala:94)
11:29:20 at com.excilys.ebi.gatling.app.Gatling$.fromMap(Gatling.scala:54)
11:29:20 at com.excilys.ebi.gatling.app.Gatling$.runGatling(Gatling.scala:74)
11:29:20 at com.excilys.ebi.gatling.app.Gatling$.main(Gatling.scala:49)
11:29:20 at com.excilys.ebi.gatling.app.Gatling.main(Gatling.scala)
11:29:21 Build step ‘Execute shell’ marked build as failure
11:29:21 Notifying upstream projects of job completion
11:29:21 Finished: FAILURE

Thank you in advance.

$ gatling.sh -s scenario1

You call look at the detail by doing a “gatling.sh -help”

regards
Nicolas