1

Jenkins has an option to trigger a pipeline(in Dev or Prod) for every commit in a specific Git branch.

In continuation with the comment, that talks about a pipeline in QA environment to execute(smoke/regression/...) on every new artifact generated by Dev pipeline in Nexus(say).


1) For every new artifact(say product-x.y-snapshot.jar in Nexus) generated in Dev pipeline, What is the option in Jenkins that is used to trigger a QA pipeline execution? Mechanics of using Jenkins...

2) Using Jenkins pipeline(QA env), What technology is used to deploy product-x.y-snapshot.jar in a VM and invoke QA tests(written in python)? and provide the test results.

overexchange
  • 15,768
  • 30
  • 152
  • 347

1 Answers1

1

1) If you want to automate this procedure and run QA pipeline only if new tag is created then you can use GitHub/GitLab/BitBucket webhooks.

2) You can use Jenkins pipeline (declarative or more advanced scripted pipeline syntax) to run tests on your agent directly. To downloading artifacts for testing, you can use something like Repository Connector Plugin or this scripted solution.

biruk1230
  • 3,042
  • 4
  • 16
  • 29
  • Comments are not for extended discussion; this conversation has been [moved to chat](https://chat.stackoverflow.com/rooms/186818/discussion-on-answer-by-biruk1230-how-to-trigger-a-pipeline-execution-in-qa-envi). – Samuel Liew Jan 16 '19 at 23:04