raboof commented on New Feature JENKINS-22278

Sorry - I don't want to switch to another version of the git tool, I don't have multiple versions of command line git installed.

The git plugin currently checks out the HEAD of the given branch. Instead, I'd like it to checkout a specific revision, specified by a SHA hash.

What I'm trying to accomplish is the following: I have one Jenkins job that runs the unittests and produces a .war for my project. Then when that succeeds, I trigger a downstream build that starts a servlet container, loads the .war and runs a suite of integration tests. When that also succeeds the .war is deployed to our test server for further test and demo purposes. Our integration test definitions are part of the same git project, and I want to run the version of the integration tests that correspond to the git revision from which the .war was built. I can already pass the GIT_COMMIT to the downstream project through a build parameter, but I can't seem to convince the git plugin to check out that revision again for the integration tests.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to