I have a JavaScript repo with some JavaScript code & relevant tests.
On push to the default branch, the JavaScript is compiled and deployed to our CDN using a Jenkins, and configured using a Jenkinsfile.
We also have e2e tests in the same repo that we'd like to run nightly.
Is it possible to have two Jenkins Jobs declared from the same repo. One that triggers on push and builds and deploys code, and the other that is triggered from a CRON job that runs e2e tests on the production code nightly.
Thanks, George