[JIRA] (JENKINS-58514) Repo plugin detect change when there is an error in repo sync

3 views
Skip to first unread message

spinus1@gmail.com (JIRA)

unread,
Jul 16, 2019, 8:28:03 AM7/16/19
to jenkinsc...@googlegroups.com
Alessio Moscatello created an issue
 
Jenkins / Bug JENKINS-58514
Repo plugin detect change when there is an error in repo sync
Issue Type: Bug Bug
Assignee: Unassigned
Components: repo-plugin
Created: 2019-07-16 12:27
Environment: Jenkins ver. 2.167
repo-plugin version 1.10.7
Priority: Minor Minor
Reporter: Alessio Moscatello

Actual behaviour:

  • When repo-plugin is configured to poll manifest and an error occurs during repo sync, the plugin reports that changes are found

Expected behaviour:

  • do not report any change, so the build is not launched
  • notify that the polling is failing

Here's polling log:

...
[poll] Latest remote head revision on refs/heads/release/jk/v1 is: 4792dd5dd91515eb13e2eabb828dc734e766bb33 - already built by 2
[src] $ /usr/bin/repo/repo init -u MY_GIT_SERVER_ADDRESS -b releaes/v1 -m mymanifest.xml
fatal: could not read Username for 'MY_BITBUCKET_ADDRESS:port': No such device or address
fatal: could not read Username for 'MY_BITBUCKET_ADDRESS:port': No such device or address
fatal: cannot obtain manifest MY_MANIFEST_REPO_ADDRESS
Done. Took 1 min 13 sec
Changes found

Note: the bug report is for the "changes found", the connection issue is due to the fact that sometimes git credentials expires (since repo-plugin is not supporting Jenkins credentialsId like the git-plugin)

 

 

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

spinus1@gmail.com (JIRA)

unread,
Jul 25, 2019, 5:50:02 AM7/25/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages