Do not forget to mark this checkbox in job configuration: There is a plugin, which can make this a part of a build job: Workspace Cleanup Plugin. Simple (although not excatly most efficient) trick that works is wiping the workspace before build. Jenkins developers already know about this issue: Support tags instead of branches hg/hgtags tag points to the "old" revision, it thinks nothing has changed for that tag-branch. Jenkins uses a variation of hg incoming -r 'tag' to check for changes in repository.So in order to see moved tag you have to have this file in local repository. Tags in Mercurial are merely records in a version controlled file.Unfortunately, Mercurial's approach to tags and Jenkins' approach to checking for changes in repositories do not let the magic happen: We also have a bunch of jobs on Jenkins, which are supposed to get latest 'qa' revision, build and deploy the system to testing environment.Īnd one would think that since Mercurial's -r parameters work equally well with branches and tags, he is all set. For example, we use tag 'qa' to mark a version of the system, which we think is worth deploying into our testing environment and running exetended set of tests. We use Mercurial tags to designate revisions suitable for some practical purposes. If you are like me, you can now use your beloved TortoiseHg while still collaborating with the rest of the development world on GitHub.If you like us use Mercurial for your source control and use Jenkins for continous integration and deployment, there is something you should know. Git ssh://gh_batman/gotham/vigilante-erp/ Conclusion Then you could have, on the same machine, the following remote paths: git ssh://gh_bruce_wayne/wayne-ent/orphanage-crm/ If you had multiple GitHub profiles, each one could be created with their own set of keys and corresponding PuTTY saved session. Note that "github" in the connection path above refers to the saved PuTTY session with the same name that we created earlier. We use the following path in TortoiseHg to connect to it: git ssh://github/gb-inc/access-modules/ Support for Multiple GitHub Profiles
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |