My Team and I are looking to automatically trigger a build when we publish a branch to the repository(Artifactory). Due to program requirements, we will not be using the DevOps Foundation platform, instead we plan to invoke Jenkins remotely.
1.When publish a branch to the repository from development app, we would like to trigger our Jenkins jobs. (Conflicts/ UnitTests/ Merge)
1.Followed the steps in the below article, and appears there are some details missing:
1. Does anyone have experience with the approach in the link provided?
2. The Activity pyPostPutArtifactSuccess is not called when we 'publish to repository', it is called from the 'Artifacts' service which is marked as Legacy. Should this be called from another location?
I have a lot of experience with this feature. I would expect it to work as described in that doc, even though the Pega type repository is deprecated. Are you certain that the user in the Authentication profile on the Repository has access to your implementation of pyPostPutArtifactSuccess?
I re-read what you are trying to accomplish and have another suggestion.
pyPostPutArtifactSuccess only executes when publishing to a Pega Repository, instead you should be publishing directly to Artifactory. Can you have Jenkin's watching for new files in Artifactory as a job trigger?