Run Gatling in CI with parameters

Hello, guys.

I’m trying to setup Gatling for CI via Jenkins in Unix machine.
How I send 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” Console has reached end of input
11:29:20 at scala.Console$.readInt(Console.scala:354)
11:29:20 at
11:29:20 at$excilys$ebi$gatling$app$Gatling$$interactiveSelect(Gatling.scala:123)
11:29:20 at$$anonfun$15$$anonfun$18.apply(Gatling.scala:100)
11:29:20 at$$anonfun$15$$anonfun$18.apply(Gatling.scala:100)
11:29:20 at scala.Option.getOrElse(Option.scala:108)
11:29:20 at$$anonfun$15.apply(Gatling.scala:100)
11:29:20 at$$anonfun$15.apply(Gatling.scala:94)
11:29:20 at scala.Option.getOrElse(Option.scala:108)
11:29:20 at
11:29:20 at$.fromMap(Gatling.scala:54)
11:29:20 at$.runGatling(Gatling.scala:74)
11:29:20 at$.main(Gatling.scala:49)
11:29:20 at
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.

$ -s scenario1

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