Commit Graph

129 Commits

Author SHA1 Message Date
Ivan Meredith 574aed8ce3 [JENKINS-36209] Queued activity items (#389)
* [JENKINS-36209] Queued items now show in activties

* Remove unneeded changes from routes

* Fix whitespace issues

* Fix linting

* Style changes

* Fixed pipeline steps

* Fix linting

* Add tests and make queues work for multibranch projects

* Remove destructering from RunDetailsHeader

* Extract common function for mapping runs

* Optimize imports

* Remove whitespace

* Remove inline CSS

* Fix typo

* Fix isCompleted Function

* Add timer icon to emtpy state

* Bump JDL version

* Try waiting for start of anything that is in the queue first

* Fix NPE

* Disable Multibranch test for now
2016-08-08 14:27:54 +12:00
Michael Neale db31a290f7 [maven-release-plugin] prepare for next development iteration 2016-08-05 19:55:29 +10:00
Michael Neale 5ee06d03c7 [maven-release-plugin] prepare release blueocean-parent-1.0-alpha-6 2016-08-05 19:55:20 +10:00
Vivek Pandey b8f4cf9699 [maven-release-plugin] prepare for next development iteration 2016-07-29 09:57:07 -07:00
Vivek Pandey ad0bfecd72 [maven-release-plugin] prepare release blueocean-parent-1.0-alpha-5 2016-07-29 09:56:59 -07:00
vivek b8c038abac JENKINS-36967# Favorite object self link fix (#377) 2016-07-27 07:47:39 -07:00
Michael Neale 2a7baee0d9 [maven-release-plugin] prepare for next development iteration 2016-07-22 11:08:17 -07:00
Michael Neale f344c261c6 [maven-release-plugin] prepare release blueocean-parent-1.0-alpha-4 2016-07-22 11:08:12 -07:00
vivek ca7d54e99f JENKINS-36837# Split of Pipeline specific API implementation in to se… (#364)
* JENKINS-36837# Split of Pipeline specific API implementation in to separate module

* doc improvement

* Fixed .js, .jsx with changed pipeline related impl class names

* Fixed BranchImpl package

* Removed uneeded error message
2016-07-21 16:28:57 -07:00
vivek cc5276b22f JENKINS-36808# Fix bug where favorited MBP on classic not handled properly (#363)
- Favorited MBP project favorites MBP in the backend model, both in classic as well as BO
- When MBP favorite is queried using /users/:id/favorites/[:id] API, default branch of MBP is returned
- FavoriteResolver extension point is used to give a chance to pipeline implementor to resolve a favorite Jenkins model object to another item. For example multi branch BO API implementation resolves a favorited MBP project to it's default branch 'master'. Another implementation of MBP API could resolve it to something else if it choses to do so.
2016-07-20 10:05:19 -07:00
vivek 8cdd41bef1 JENKINS-36542# API to map of class details for multiple classes (#354)
* JENKINS-36542# API to map of class details for multiple classes

* Removed dead code, handled no param case and covered with test
2016-07-19 14:33:38 -07:00
vivek 5af2b1e171 Merge pull request #358 from jenkinsci/bug/JENKINS-36728
JENKINS-36728# Pipeline job's _class fix
2016-07-19 10:34:33 -07:00
Ivan Meredith 81861c0987 [JENKINS-35868] changeset url (#348)
* [JENKINS-35868] Include browser friendly url in changeset

* Remove extra import

* [JENKINS-35868] Add BlueChangeSetEntry to rest api
2016-07-19 11:43:00 +12:00
Vivek Pandey acc1af243d JENKINS-36728# Pipeline job's _class fix 2016-07-15 14:36:18 -07:00
Michael Neale cc98c2f511 [maven-release-plugin] prepare for next development iteration 2016-07-15 13:32:59 +10:00
Michael Neale 6c9cada68d [maven-release-plugin] prepare release blueocean-parent-1.0-alpha-3 2016-07-15 13:32:49 +10:00
vivek 3b26425d5a JENKINS-36170# Step API GET .../steps/:id/ response with action to tell if it can log (#351) 2016-07-15 10:36:27 +10:00
vivek 8e0ae22e06 Merge pull request #345 from jenkinsci/bug/JENKINS-36668
JENKINS-36668# Fixed
2016-07-14 07:32:16 -07:00
Michael Neale 3994afa257 this is needed to work with a fresh workspace (#347) 2016-07-14 14:17:30 +10:00
Vivek Pandey 1be2638dc1 JENKINS-36668# Fixed 2016-07-13 13:56:54 -07:00
Vivek Pandey e28c77e13a JENKINS-36489# NPE fix 2016-07-12 12:09:24 -07:00
vivek 5b1cf811bd Merge pull request #328 from jenkinsci/improvement/JENKINS-36580
JENKINS-36580# PUT .../pipelines/:id/favorite/ enhancements
2016-07-11 16:54:33 -07:00
Ivan Meredith 25fc05bdaa Merge pull request #316 from jenkinsci/JENKINS-35881-rerun-a-run
[JENKINS-35881] replay a run
2016-07-12 10:41:40 +12:00
Vivek Pandey d59515c808 JENKINS-36580# PUT .../pipelines/:id/favorite/ enhancements 2016-07-11 15:39:41 -07:00
Ivan Meredith df45e9d18f Remove duplicate lines and fix comment. 2016-07-12 09:30:53 +12:00
Vivek Pandey 512a3f9d0f Minor refactoring
- Use Jenkins.getInstance()
- Refactored pipeline instance search code in to BluePipelineFactory.getPipelineInstance()
2016-07-11 13:33:59 -07:00
Vivek Pandey 4ff5e44bc7 JENKINS-36488# Use LinkResolver to get favorite item 2016-07-11 11:14:03 -07:00
Vivek Pandey 96b7c3e9d5 Merge remote-tracking branch 'origin/master' into feature/JENKINS-36286 2016-07-11 09:16:04 -07:00
Vivek Pandey 6826781c9e Removed unused code and optimal handling of node/step links 2016-07-08 14:22:10 -07:00
Vivek Pandey e0bf559f5f JENKINS-36506# Favorite API improvement: inlined favorite items. 2016-07-08 13:49:36 -07:00
vivek 75fc821d4e Merge pull request #320 from jenkinsci/bug/JENKINS-36376
JENKINS-36376# Annotate model classes with @Capability
2016-07-08 12:57:43 -07:00
vivek 011d1dd8e1 JENKINS-36490# Get authenticated user API (#319) 2016-07-08 18:11:16 +10:00
Vivek Pandey fd74dfeb47 JENKINS-36286# LinkResolver to resolve link of a jenkins model object mapped to BlueOcean API object
Supported Jenkins models, Job, ItemGroup, FlowNode (stage, prallel, step)
2016-07-07 23:43:28 -07:00
Ivan Meredith 5d6c79bbcc Merge pull request #317 from jenkinsci/JENKINS-36513-stop-tree-response
[JENKINS-36513] Use TreeResponse for return of stop()
2016-07-08 18:43:20 +12:00
Vivek Pandey e6c5f9bd30 JENKINS-36376# Annotate model classes with @Capability 2016-07-07 22:41:40 -07:00
Ivan Meredith 2482a14503 [JENKINS-36514] durationInMillis can be null so use Long instead of long (#318) 2016-07-08 14:03:05 +10:00
Ivan Meredith a50bdab74f Fix test
Need to pull the item from the queue so that we can then wait for the job to finish. Messy but no choice
2016-07-08 14:52:47 +12:00
Ivan Meredith 8b533173c3 [JENKINS-36513] Use TreeResponse for return of stop() 2016-07-08 12:46:43 +12:00
Ivan Meredith a7bfbfed51 Queue a run rather than just trying to get the last one. 2016-07-08 12:30:35 +12:00
Ivan Meredith c4e81d3445 Fix typo in test 2016-07-08 11:57:24 +12:00
Ivan Meredith 195cbe8a7f Add a multibranch test for replay 2016-07-07 13:39:22 +12:00
Ivan Meredith 81340dbbcd Use utitlity method for generating queue item 2016-07-06 16:07:27 +12:00
Ivan Meredith 1c7352fddb Revert changes to Multibranch tests. 2016-07-06 13:52:14 +12:00
Ivan Meredith b05e07cb86 Disable test because of JENKINS-36453 2016-07-06 11:07:26 +12:00
Ivan Meredith bbabdd2c2c [JENKINS-35881] Replay a run
This feature allows a run to be replayed (or re-run) with the
same commit id.
2016-07-06 11:05:06 +12:00
Ivan Meredith 375e82e99a [JENKINS-35843] Support PR's from origin 2016-07-06 10:15:46 +12:00
Michael Neale 4ef4a5fea5 [maven-release-plugin] prepare for next development iteration 2016-07-04 19:20:14 +10:00
Michael Neale 464e67635d [maven-release-plugin] prepare release blueocean-parent-1.0-alpha-2 2016-07-04 19:20:02 +10:00
Michael Neale e65da04386 update centre requires url to wiki to deploy (#314) 2016-07-04 17:40:25 +09:00
Vivek Pandey 36fc943277 Merge remote-tracking branch 'origin/master' into bug/JENKINS-36208 2016-06-30 18:27:52 -07:00