S

Satya • 2.31K Points
Master

Q. How does Jenkins execute shell commands in a pipeline?

  • (A) Using the 'cmd' block
  • (B) Using the 'sh' step
  • (C) Using the 'exec' step
  • (D) Using the 'run' block
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Jenkins
  • Hashtags:

Explanation by: Satya
In Jenkins pipelines, the `sh` step is used to execute shell commands.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.