Code Monkey home page Code Monkey logo

Comments (4)

daniel1608 avatar daniel1608 commented on July 20, 2024

+1
None of our pull requests start with PR and therefore the plugin doesn't trigger the pipeline.

Are there any plans to not hardcode the pattern? How about one can set the pattern manually for each pipeline?

from github-pr-comment-build-plugin.

bluesliverx avatar bluesliverx commented on July 20, 2024

These event handlers receive all events. So this ensures that it matches a PR job named the same as the PR number. Otherwise you could have a branch named mybranch1 and it would match PR 1, etc. I'm happy to allow for modifying this in the configuration, but I don't have the time to implement it myself. Pull requests are welcome to implement this.

from github-pr-comment-build-plugin.

okainov avatar okainov commented on July 20, 2024

So this ensures that it matches a PR job named the same as the PR number. Otherwise you could have a branch named mybranch1 and it would match PR 1, etc.

That sounds really weird... So this also means that it's required to have previous job? This will not work, when want to trigger some one-time job (like "deploy", for example) which was not triggered before...

from github-pr-comment-build-plugin.

bluesliverx avatar bluesliverx commented on July 20, 2024

@okainov, I'm not sure where you got anything about a previous job from. I didn't mention anything about previous job runs vs one-offs.

All I was saying is that the pattern is there to make sure that the events received for a PR match the job that is for that PR (and no other jobs), we use that regex. If the jobs are named something else, that's something that needs to be configured. However, I still don't have time to pick this up, but would welcome any contributions from the community.

from github-pr-comment-build-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.