Commit Graph

3880 Commits

Author SHA1 Message Date
R. Tyler Croy d13bb98d98
Bump the sse-gateway plugin to the latest version 2018-09-24 11:25:38 -07:00
Josh McDonald 941c6832a4
Convert PipelineGraph sources from Flow to TypeScript (#1808)
* task/pipelinegraph-typescript * port model

* task/pipelinegraph-typescript * port layout

* task/pipelinegraph-typescript * port graph component, add types

* task/pipelinegraph-typescript * Upgrade TS version to handle react types, sidestep a silly style typing issue

* task/pipelinegraph-typescript * Exactify types versions
2018-09-20 09:19:36 +10:00
Olivier Lamy f04175838d
[JENKINS-53311] Wrong status of running builds (#1807)
* add junit to show the issue

Signed-off-by: olivier lamy <olamy@apache.org>

* avoid using flowNode.isRunning as it looks to return wrong while the node is running prefer use of isActive

Signed-off-by: olivier lamy <olamy@apache.org>

* add comment

Signed-off-by: olivier lamy <olamy@apache.org>
2018-09-19 11:20:53 +10:00
Karl Shultz 60442a1ba8
[JENKINS-53132] Moves sleep into saveBranch, more consistent logging (#1803) 2018-09-10 12:25:23 -04:00
Devin Nusbaum 9944bb936c Update pipeline-related plugins to the latest versions (#1806) 2018-09-07 11:18:20 +10:00
Keith Zantow 7830bf12b3 Fix test URL overlap 2018-09-04 10:29:15 -07:00
Keith Zantow d3c9cbce79 Add a test 2018-09-04 10:29:15 -07:00
Keith Zantow 116c6baf19 Use StringBuilder for string concatenation 2018-09-04 10:29:15 -07:00
Keith Zantow 69161ff293 BitBucket Server errors not shown properly 2018-09-04 10:29:15 -07:00
Olivier Lamy d520a72196
Surefire and jacoco plugins upgrade (#1804)
* upgrade surefire and jacoco plugin

Signed-off-by: olivier lamy <olamy@apache.org>
2018-08-31 10:11:06 +10:00
Nicolae Pascu 74f11929ee
avoid js error in case a run request returns a 404 (#1802) 2018-08-28 17:26:06 +10:00
Rick 39d3a5ee7b Fixes expression and supplement i10n (#1801) 2018-08-26 11:08:18 +10:00
runzexia 6cda2f2e73 remove unsued accept header (#1800)
* remove unsued accept header

* remove unused import
2018-08-24 14:06:32 +10:00
Olivier Lamy 1a34a1c7bc
[JENKINS-53175] avoid 404 by returning an empty BlueTestSummary (#1799)
Signed-off-by: olivier lamy <olamy@apache.org>
2018-08-24 12:17:53 +10:00
Karl Shultz 96a2bb2f9d
Allows pre- and post-2.125 versions of Jenkins core to pass (#1798)
Thanks for the quick reviews.
2018-08-23 09:53:20 -04:00
Olivier Lamy 23702052eb
upgrade jira plugin to 3.0.1 removing perforce plugin security advisory https://jenkins.io/security/advisory/2018-03-26/#SECURITY-536 (#1797)
Signed-off-by: olivier lamy <olamy@apache.org>
2018-08-22 20:33:17 +10:00
Craig Rodrigues 2fd5f85771 [JENKINS-52944] Pass milliseconds to TimeDuration (#1794)
testCase.duration is in seconds, but we must pass milliseconds
to TimeDuration.format().
2018-08-21 08:36:29 +10:00
Josh Soref b02273dc2a Add braces and simplify/improve oldLength handling 2018-08-16 11:24:32 -07:00
Josh Soref f28a06b600 handle undefined nextProps.logArray
[ERROR - io.jenkins.blueocean.dashboard.karaoke.Pager.Pipeline] Error fetching page TypeError: newArray.slice is not a function
    at LogConsole.componentWillReceiveProps (jenkins-js-extension.js:93336)
    at ReactCompositeComponentWrapper.updateComponent (jenkins-design-language.js:49436)
2018-08-16 11:24:32 -07:00
Nicolae Pascu 89db98cf5a
[JENKINS-53048] Fix rendering of sequential parallel stages (#1792)
* fix rendering of sequential parallel stages

* add a check to prevent an infinite loop
2018-08-16 18:45:52 +10:00
Michael Neale b6ac4a368e get rid of hipchat send (#1791)
wasn't needed, and hipchat is going away...
2018-08-15 19:26:04 +10:00
Olivier Lamy db24f4985f
correctly close ByteBuffer in try resources (#1788)
Signed-off-by: olivier lamy <olamy@apache.org>
2018-08-15 09:10:47 +10:00
Vivek Pandey df41bfb96a Prepare for 1.9 devlopment (#1790) 2018-08-14 13:09:23 -04:00
Olivier Lamy 628d3a9762
[JENKINS-49779] sequential parallel first parent null (#1787)
* [JENKINS-49779] fix null firstParentId null where it should not be

Signed-off-by: olivier lamy <olamy@apache.org>

* add a null check

* trying to reproduce the non existing edge issue but cannot

Signed-off-by: olivier lamy <olamy@apache.org>

* checkstyle fix :)

Signed-off-by: olivier lamy <olamy@apache.org>
2018-08-11 13:19:26 +10:00
Nicolae Pascu 5e1fed1828
[JENKINS-49050] Add support for sequential parallel stages (#1784)
* add support for sequential parallel stages

* update sequential stages unit test

* fix bugs

* fix pipeline graph while pipeline is running
2018-08-10 13:43:36 +10:00
Andrew Bayer 9cd5d47167 [FIXED JENKINS-50148] Handle SimpleBuildWrappers in editor (#1786)
* [FIXED JENKINS-50148] Handle SimpleBuildWrappers in editor

* Add withSonarQubeEnv tests, update StepMetadata.json so tests actually
do things.
2018-08-09 15:32:53 -07:00
Andrew Bayer e4b71e88b0 [JENKINS-49779] Verify sequential parent stage post steps end up in child stage (#1785) 2018-08-09 07:09:10 -07:00
Olivier Lamy 170bd6480f
[JENKINS-49779] Feature/sequentiel add more tests (#1779)
* [JENKINS-49779] Feature/sequentiel add more tests

Signed-off-by: olivier lamy <olamy@apache.org>
2018-08-08 05:26:48 +10:00
Olivier Lamy 64ee5d460e
[JENKINS-52862] use a guava cache with weakkeys (#1781)
Signed-off-by: olivier lamy <olamy@apache.org>
2018-08-05 09:49:28 +10:00
Baptiste Mathus e0dc3d7b01 Update to latest parent (#1770) 2018-08-02 09:52:19 +10:00
Jennifer Briden b5cb4bea76 Adding Jenn Briden (jennbriden) to code owners (#1777)
This will ensure that I am automatically included in Blue Ocean PRs.
2018-08-01 16:06:25 +10:00
Wadeck Follonier 6dcbe05e73 Update Messages.properties (#1771) 2018-07-31 11:22:53 +10:00
Olivier Lamy 55db7d5f67
[JENKINS-49779] sequential stages inside parallel in Declarative syntax (#1778)
* [JENKINS-49779] Support for sequential stage groups in BlueOcean nodes API

Signed-off-by: olivier lamy <olamy@apache.org>
2018-07-31 11:04:29 +10:00
Olivier Lamy 90371826c7 [JENKINS-52307] add more null check (#1775) 2018-07-18 11:50:44 -04:00
Vivek Pandey 15e7e594f7
Prepare for 1.8.0 development (#1774) 2018-07-12 17:30:08 -07:00
Karl Shultz d2b82bf72b
[JENKINS-52494] Upgrade selenium container to pick up newer chrome, selenium (#1772)
This is working well in CI, so, going ahead with the merge.
2018-07-12 10:55:21 -04:00
Nicolae Pascu 4ff07ed9c1
[JENKINS-48643] add support for restartable stages (#1769)
* [JENKINS-48643] add support for restartable stages

* move the restart stage icon to a pure react component

* remove test that checks the svg icon because we changed it to a component

* add ATH test and fix the unit test

* fix a comment in the ATH test
2018-07-11 12:05:33 +10:00
Olivier Lamy 9229c889e2
[JENKINS-52307] fix npe with empty matrix projects (#1768)
* [JENKINS-52307] fix npe with empty matrix projects

Signed-off-by: olivier lamy <olamy@apache.org>
2018-07-08 09:15:56 +02:00
Olivier Lamy 1c8705b18e
[JENKINS-52332] Node Api enhancement restartable flag and restart command (#1766)
* [JENKINS-52332] Implement Node API to provide information on restartable stages in BlueOcean nodes API

Signed-off-by: olivier lamy <olamy@apache.org>
2018-07-05 23:06:20 +02:00
Olivier Lamy 9f7f689502
[JENKINS-52154] Expand passed unit tests (#1765)
* [JENKINS-52154] fix non expanded passed unit tests

Signed-off-by: olivier lamy <olamy@apache.org>
2018-07-03 08:29:13 +02:00
Josh Graham 5cffd5346b Update to Jenkins LTS 2.121.1 (#1763)
* [JENKINS-52295] Update to Jenkins LTS 2.121.1

 - change to use jenkins/jenkins:lts base Docker image
 - use `docker run jenkins/jenkins:lts --version` to obtain effective version
 - pom.xml continues to explicitly use effective version

* Other places to bump version / add another LTS acceptance test target
2018-07-01 22:14:39 +02:00
Karl Shultz 78543ab5d5
[JENKINS-52281] Un-deprecation of some constructor calls and pipeline code (#1764) 2018-07-01 14:40:10 -04:00
Josh McDonald 1ccdbf9c9f
task/update-typedefs * Pull in some fixes for the typedefs that have been living in a local dev branch (#1762) 2018-06-27 21:04:58 +12:00
James Nord 77960a8dc2 [JENKINS-51627] Improve 'Try BlueOcean' action handling (#1745)
* [JENKINS-51627] Improve 'Try BlueOcean'  action handling

The code attempted to make sure that only one "Try BlueOcean" action was shown butno one looked at the reason why multiple where shown.
The reason that multiple actions where shown was a bug in core that affected Queue.Items and their subclasses.  Given that almost all Queue.Items have no page of their own there is little point in creating an Action for them (and this solves the fact that they get persisted and then shown for a AbstractBuild.

In the case they are already persisted we just replace the action with an invisibleAction such that the only rendered "Try Blue" will be the one created afresh from the TransientActionFactory

* [JENKINS-51627] add a unit test to check serialisation.
2018-06-26 07:31:59 -07:00
Keith Zantow 22c081026d
Remove generation of user filesystem SSH key (#1759) (#1760) 2018-06-24 11:20:47 -04:00
Olivier Lamy 518eb57462
[JENKINS-52101] protect against possible IllegalArgumentException (#1758)
* [JENKINS-52101] protect against possible IllegalArgumentException

Signed-off-by: olivier lamy <olamy@apache.org>

* add unit test

Signed-off-by: olivier lamy <olamy@apache.org>

* cleanup imports

Signed-off-by: olivier lamy <olamy@apache.org>
2018-06-23 08:33:19 +10:00
Karl Shultz 1124704057
[JENKINS-51372] De-flake BitbucketServerTest (#1756)
* Moves saveBranch out of simplePipeline so it can be called from the test itself

* Switch to jenkinsUser.username to fix failing retries. And hopefully less flakiness.
2018-06-22 08:27:33 -04:00
Nicolae Pascu 21c7de0b6f
replace Object.values because it doesn't work in older browsers (#1757) 2018-06-22 11:04:15 +10:00
Thorsten Scherler edd3410f88
[JENKINS-51921] Prevent onClick of generated syntetic events in dropDown (#1752)
* [JENKINS-51921] Prevent synthetic events to trigger onClick.

* [JENKINS-51921] do the relase dance
2018-06-20 16:11:56 +02:00
Oleg Nenashev a5b53f3053 [JENKINS-52029] - Create experimental BlueOcean image with JDK 10 support (#1754) 2018-06-20 11:53:31 +10:00