Mark Waite commented on Bug JENKINS-26354

I can't duplicate the bug based on the steps you've provided. Can you provide more details or clarify the areas in which my steps are different than your steps?

Steps I took:

  1. Create a new git repo ( repo=~/git/bugs/JENKINS-26534; mkdir -p $repo; cd $repo; git init )
  2. Commit a change to that repo ( branch=master; date >> $branch; git add $branch; git commit -m "Add date to $branch" )
  3. Create a freestyle project to monitor that repo ( poll git often, or create a post-receive hook )
  4. Define "Branches to build" as "*" so that any branch which appears will start a build
  5. Confirm that the project builds on its first polling interval
  6. Confirm that the log of the first build contains the line "First time build. Skipping changelog."
  7. Confirm that Changes and Recent Changes show no change for that first time build
  8. Add a branch to the repo with a commit ( branch=branch-a; git checkout -b $branch; date >> $branch; git add $branch; git commit -m "Add date to $branch" )
  9. Confirm that the next poll starts that job
  10. Confirm that the console output contains the line "First time build. Skipping changelog."
  11. Commit a second change to the branch (branch=branch-a; git checkout $branch; date >> $branch; git add $branch; git commit -m "Add date to $branch" )
  12. Confirm that the next poll starts that job
  13. Confirm that the changes show the commit (since it is not a first time build)

Is the bug you're reporting that the first time build for a new branch does not list any changes? If so, it is difficult to make a good general case decision of what should be the basis of those changes.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to