pull-request-builder | resources needed for AWS CodeBuild | Cloud Functions library
kandi X-RAY | pull-request-builder Summary
kandi X-RAY | pull-request-builder Summary
This will build out all the resources needed to use AWS codebuild and integrate with a github to make a pull request builder. When a commit is pushed to github. Github sends a SNS message which then invokes the Lambda. The lambda will update github via the status api and set the status to pending. The last step of codebuild will invoke the lambda again to report the build result. Cloudformation will output the keys and SNS ARN needed for the github AWS SNS integration.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pull-request-builder
pull-request-builder Key Features
pull-request-builder Examples and Code Snippets
Community Discussions
Trending Discussions on pull-request-builder
QUESTION
We have a project on GitHub which has two Jenkins Multibranch Pipeline jobs - one builds the project and the other runs tests. The only difference between these two pipelines is that they have different JenkinsFiles.
I have two problems that I suspect are related to one another:
- In the GitHub status check section I only see one check with the following title:
continuous-integration/jenkins/pr-merge — This commit looks good
, which directs me to the test Jenkins pipeline. This means that our build pipeline is not being picked up by GitHub even though it is visible on Jenkins. I suspect this is because both the checks have the same name (i.e.continuous-integration/jenkins/pr-merge
). - I have not been able to figure out how to rename the status check message for each Jenkins job (i.e. test and build). I've been through this similar question, but its solution wasn't applicable to us as Build Triggers aren't available in Multibranch Pipelines
If anyone knows how to change this message on a per-job basis for Jenkins Multibranch Pipelines that'd be super helpful. Thanks!
Edit (just some more info):
We've setup GitHub/Jenkins webhooks on the repository and builds do get started for both our build and test jobs, it's just that the status check/message doesn't get displayed on GitHub for both (only for test it seems). Here is our JenkinsFile for for the build job:
...ANSWER
Answered 2019-Jan-29 at 09:41Try to use GitHubCommitStatusSetter
(see this answer for declarative pipeline syntax). You're using a scripted pipeline syntax, so in your case it will be something like this (note: this is just prototype, and it definitely must be changed to match your project specific):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pull-request-builder
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page