Comments (7)
Can you send me to relevant portion of the job config? I am using the plugin for testing and have not found this to be the case
from ghprb-plugin.
@DavidTanner what kind of job config do you need?
1.24.4 works with that confix, all recent versions nope
Anyway, here is a config.xml for that job
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description>This job will scan new PR in SRS github repo and executes Ci stuff</description>
<logRotator class="hudson.tasks.LogRotator">
<daysToKeep>5</daysToKeep>
<numToKeep>10</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</logRotator>
<keepDependencies>false</keepDependencies>
<properties>
<com.coravy.hudson.plugins.github.GithubProjectProperty plugin="[email protected]">
<projectUrl>https://github.com/propeoplemd/mvtp/</projectUrl>
</com.coravy.hudson.plugins.github.GithubProjectProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name>origin</name>
<refspec>+refs/pull/*:refs/remotes/origin/pr/*</refspec>
<url>[email protected]:propeoplemd/mvtp.git</url>
<credentialsId>c55a496e-7717-4f51-88d5-1a50b478ba55</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>${sha1}</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="list"/>
<extensions>
<hudson.plugins.git.extensions.impl.CloneOption>
<shallow>true</shallow>
<reference></reference>
<timeout>5</timeout>
</hudson.plugins.git.extensions.impl.CloneOption>
<hudson.plugins.git.extensions.impl.SubmoduleOption>
<disableSubmodules>false</disableSubmodules>
<recursiveSubmodules>true</recursiveSubmodules>
<trackingSubmodules>false</trackingSubmodules>
<timeout>5</timeout>
</hudson.plugins.git.extensions.impl.SubmoduleOption>
<hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
<relativeTargetDir>new_pull_request</relativeTargetDir>
</hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
</extensions>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers>
<org.jenkinsci.plugins.ghprb.GhprbTrigger plugin="[email protected]">
<spec>H/3 * * * *</spec>
<configVersion>1</configVersion>
<adminlist>ppbot
podarok
ygerasimov
</adminlist>
<allowMembersOfWhitelistedOrgsAsAdmin>true</allowMembersOfWhitelistedOrgsAsAdmin>
<orgslist>propeoplemd</orgslist>
<cron>H/3 * * * *</cron>
<triggerPhrase></triggerPhrase>
<onlyTriggerPhrase>false</onlyTriggerPhrase>
<useGitHubHooks>false</useGitHubHooks>
<permitAll>true</permitAll>
<whitelist></whitelist>
<autoCloseFailedPullRequests>false</autoCloseFailedPullRequests>
<displayBuildErrorsOnDownstreamBuilds>false</displayBuildErrorsOnDownstreamBuilds>
<whiteListTargetBranches>
<org.jenkinsci.plugins.ghprb.GhprbBranch>
<branch></branch>
</org.jenkinsci.plugins.ghprb.GhprbBranch>
</whiteListTargetBranches>
<project>MVTP_PR_BUILDER</project>
<__project class="project" reference="../../.."/>
<gitHubApiAuth>
<serverAPIUrl>https://api.github.com</serverAPIUrl>
<credentialsId>c55a496e-7717-4f51-88d5-1a50b478ba55</credentialsId>
<id>5e612ad3-a68e-4ffa-b5bb-cfc19a3d837c</id>
<description>Pre credentials Token</description>
<secret>*** screaned *** </secret>
</gitHubApiAuth>
<extensions>
<org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
<commitStatusContext></commitStatusContext>
<triggeredStatus></triggeredStatus>
<startedStatus></startedStatus>
<statusUrl></statusUrl>
</org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
<org.jenkinsci.plugins.ghprb.extensions.comments.GhprbCommentFile>
<commentFilePath>${WORKSPACE}/commentinfo.md</commentFilePath>
</org.jenkinsci.plugins.ghprb.extensions.comments.GhprbCommentFile>
</extensions>
</org.jenkinsci.plugins.ghprb.GhprbTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>export PYTHONUNBUFFERED=1
echo "===============" > ${WORKSPACE}/commentinfo.md
cd new_pull_request
sudo rsync -avz docroot/ /var/www/build${BUILD_NUMBER}
cd /var/www/build${BUILD_NUMBER}
sudo chown -R www-data:jenkins *
sudo chmod -R 774 *
sudo chmod -x hosts
ansible-playbook sniffers.yml --extra-vars "workspace_root=${WORKSPACE} webroot=http://** screaned ***/build${BUILD_NUMBER} site_url=http://** screaned ***/build${BUILD_NUMBER}"
ansible-playbook reinstall.yml --extra-vars "php_env_vars='APP_ENV=dev' mysql_user=** screaned *** mysql_pass=** screaned *** mysql_db=drupal${BUILD_NUMBER} php_env_vars='APP_ENV=dev' drupal_folder=/var/www/build${BUILD_NUMBER} base_url=http://** screaned ***/build${BUILD_NUMBER} site_url=http://** screaned ***/build${BUILD_NUMBER}"
#ansible-playbook tests.yml --extra-vars "workspace_root=${WORKSPACE} behat_base_url=http://** screaned ***/build${BUILD_NUMBER} update_dependencies='yes' resources_path=${WORKSPACE}/new_pull_request//tests/behat/resources
#behat_drupal_root=/var/www/build${BUILD_NUMBER}
#behat_root=${WORKSPACE}/new_pull_request/tests/behat"
sudo chown -R www-data:jenkins ../build${BUILD_NUMBER}
</command>
</hudson.tasks.Shell>
</builders>
<publishers>
<com.cloudbees.jenkins.GitHubCommitNotifier plugin="[email protected]">
<resultOnFailure>FAILURE</resultOnFailure>
</com.cloudbees.jenkins.GitHubCommitNotifier>
<jenkins.plugins.hipchat.HipChatNotifier plugin="[email protected]">
<token>CHANGE_ME</token>
<room>CHANGE_ME</room>
<startNotification>true</startNotification>
<notifySuccess>true</notifySuccess>
<notifyAborted>true</notifyAborted>
<notifyNotBuilt>false</notifyNotBuilt>
<notifyUnstable>false</notifyUnstable>
<notifyFailure>true</notifyFailure>
<notifyBackToNormal>true</notifyBackToNormal>
<startJobMessage>>>> <strong>$ghprbPullTitle</strong> <br /> $JOB_NAME #$BUILD_NUMBER $STATUS ($CHANGES_OR_CAUSE) <br /> Started by $ghprbTriggerAuthor ($ghprbActualCommitAuthorEmail) <br /><a href="$URL/console">Open Builder console within Jenkins</a><br /><a href="CHANGE_ME_TO_PROJECT_HTTPS_URL/pull/$ghprbPullId">Open PR at Github</a> <br /></startJobMessage>
<completeJobMessage>>>> <strong>$ghprbPullTitle</strong> <br /> $JOB_NAME #$BUILD_NUMBER $STATUS after $DURATION <br /> by $ghprbTriggerAuthor ($ghprbActualCommitAuthorEmail) <br /><a href="$URL/console">Open Builder console within Jenkins</a><br /><a href="CHANGE_ME_TO_PROJECT_HTTPS_URL/pull/$ghprbPullId">Open PR at Github</a></completeJobMessage>
</jenkins.plugins.hipchat.HipChatNotifier>
</publishers>
<buildWrappers>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="[email protected]">
<colorMapName>xterm</colorMapName>
</hudson.plugins.ansicolor.AnsiColorBuildWrapper>
</buildWrappers>
</project>
from ghprb-plugin.
What does the global config look like?
from ghprb-plugin.
I just verified it locally. It works when using webHooks, so I will debug why it doesn't work with the trigger.
from ghprb-plugin.
I found the bug, now I need to do some rework.
from ghprb-plugin.
Has this regressed I get this error:
Pull request #1 was updated on repo i___e/p___jk but there aren't any new comments nor commits; that may mean that commit status was updated.
I'm using version 1.32.3 of the plugin.
from ghprb-plugin.
Same here with 1.32.6 and Jenkins 1.658. What is the best way to investigate?
INFO: Pull request #33 was updated on repo xxx but there aren't any new comments nor commits; that may mean that commit status was updated.
from ghprb-plugin.
Related Issues (20)
- Unable to connect to GitHub HOT 2
- Worker nodes aren't started when pipeline requests to run parallel parts on same node
- Log4j in ghprb? HOT 1
- Trigger based on directories HOT 1
- Pull request approval without fetch
- usage of org-list may incur github rate limit
- Publish multiple github-statuses from the same pipeline job HOT 1
- ${ghprbActualCommit} does not pick up current commit from hook if an additional branch is specified. HOT 2
- Create new pull request with a comments,but not be triggered. Comment a gain and reopen the pull request,then be triggered
- Restrict Specific branch for Pull request
- What kind of "actions" does the Pull request Webhook of the Github pull request builder support?
- What kind of "actions" does the Pull request Webhook of the Github pull request builder support? HOT 1
- Plug-in Question
- Changing the status context (name) in the config while a job is running leaves the old status in pending forever
- Changing(rotating) plugin credentials take no effect until Jenkins is restarted due to cached repo object
- Is this plugin is not maintained anymore? if so, is there any alternative plugin for it ? HOT 1
- Can Help WIth Plugin Upgrade
- Warning: The currently installed plugin version may not be safe to use. Please review the following security notices:
- Not able to trigger jenkins job by adding specific labels
- When A PR is not mergeable the Github status check does not get updated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghprb-plugin.