GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — jenkins: start CI run on new pull requests by maclover7 · Pull Request #173 · nodejs/github-bot

Conversation

@maclover7

@maclover7 maclover7 commented May 31, 2018

Copy link
Copy Markdown
Contributor

This will start a CI build on all new pull requests in nodejs/node, that
are opened by project collaborators

cc @joyeecheung

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

BridgeAR and addaleax reacted with heart emoji
All reactions
  • ❤️ 2 reactions
maclover7 added 2 commits May 31, 2018 15:43
@maclover7
jenkins: start CI run on new pull requests
ac00b48
This will start a CI build on all new pull requests in nodejs/node, that
are opened by project collaborators
@maclover7
[squash] do not comment
0b30cf9
Behavior does not work due to how Jenkins handles redirects. URL will be
available via GitHub statuses, so shouldn't be a big deal.
@refack

refack commented May 31, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

FYI I just installed a plugin that can do the triggering (and also parse comments).
https://wiki.jenkins.io/display/JENKINS/GitHub+pull+request+builder+plugin

Still need the bot to communicate back.

P.S. Adding notification hook, or polling the repo does not require elevated authorization.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

joyeecheung

This comment was marked as off-topic.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

joyeecheung

This comment was marked as off-topic.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maclover7
[squash] cleanup function name
8f10737
@maclover7 maclover7 mentioned this pull request Jun 1, 2018
github-bot: add node jenkins variables nodejs/build#1307
Merged
@refack

refack commented Jun 1, 2018

Copy link
Copy Markdown
Contributor

I got our Jankins to do similar stuff
nodejs/node#17330
I just need a token (or proxy it through the bot)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@devsnek

devsnek commented Jun 1, 2018

Copy link
Copy Markdown
Member

is there a way we can disable this? sometimes people open WIP prs where running a ci would just be a waste

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maclover7

maclover7 commented Jun 1, 2018

Copy link
Copy Markdown
Contributor Author

@refack Interesting! Personally, I prefer having the code live inside of a repo somewhere, so we avoid the black box of Jenkins plugins

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maclover7

maclover7 commented Jun 1, 2018

Copy link
Copy Markdown
Contributor Author

@devsnek I don't believe so -- this purposely only runs node-test-pull-request-lite so it shouldn't take up many resources. Also, it only runs when PRs are first opened, so at worst it would only be one build that is automatically triggered

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@refack

refack commented Jun 1, 2018

Copy link
Copy Markdown
Contributor

The Jenkins plugin has a label "blacklist" so PR with the WIP label should be skipped

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maclover7
maclover7 merged commit 64c2b20 into nodejs:master Jun 1, 2018
@maclover7
maclover7 deleted the jm-ci-on-new-pr branch June 1, 2018 21:43
maclover7 added a commit to nodejs/build that referenced this pull request Jun 2, 2018
@maclover7
github-bot: add node jenkins variables
08768c7
PR-URL: #1307
Reviewed-By: Phillip Johnsen <[email protected]>
Refs: nodejs/github-bot#173
Refs: https://github.com/nodejs-private/secrets/pull/19
@joyeecheung joyeecheung mentioned this pull request Jun 5, 2018
build: initial .travis.yml implementation nodejs/node#21059
Closed
2 tasks done
@Trott

Trott commented Jun 6, 2018

Copy link
Copy Markdown
Member

If we could get this to post a CI: <URL here> comment, that would rule.

richardlau reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Jun 6, 2018

Copy link
Copy Markdown
Member

Oh, I see that was attempted but ran into tech diff...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@richardlau richardlau mentioned this pull request Jun 8, 2018
Bot doesn't comment in PRs when autostarting CI #175
Closed
@Trott Trott mentioned this pull request Jun 8, 2018
Automatic CI kickoff #82
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@joyeecheung joyeecheung joyeecheung approved these changes
+1 more reviewer
@refack refack refack left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@maclover7 @refack @devsnek @Trott @joyeecheung
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.