Commit Graph

86 Commits

Author SHA1 Message Date
Tim Hansen be5eb6c313 Merge pull request #7594 from manucirne/fix/issue/7155
Sort Jenkins biuld by timestemp in CITable
2021-10-17 20:59:29 -06:00
Gabriel Noal 3c756657b8 Sort Jenkins biuld by timestemp in CITable
Signed-off-by: Gabriel Noal <gabriel.oliva@hotmail.com>
2021-10-14 17:58:10 -03:00
Eric Peterson 81a41ec249 Apply extension-names codemod to monorepo.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-10-04 19:29:43 +02:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Oliver Sand f67ece34c1 Mark LEGACY_JENKINS_ANNOTATION as deprecated
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-12 18:15:00 +02:00
Oliver Sand 42a24691a7 Generate API report
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-12 18:09:15 +02:00
Oliver Sand d7d1f6fb9a Make isJenkinsAvailable recognise both the old and the new Jenkins annotation
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-12 17:56:24 +02:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
blam a9ce6d8892 chore: updating typescript and api-reports
Signed-off-by: blam <ben@blam.sh>
2021-07-27 23:44:43 +02:00
Andrew Shirley 8e38300d7c Consistently use job-full-name not name or slug
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 91cc4913ab Use the options object pattern for frontend API
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 24d786e197 Encode all components in the url
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 76fcd5ab40 Tidy types
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley dc05501c08 Tidy hook APIs
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 9fde1b3313 Rename JenkinsApiImpl to JenkinsClient
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley aaa12c8bdb Fix prettier from rebase
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 048f0a69ac Fix rebase error
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 44e53097da Re-instate the API export
After a discussion with blam I now understand the value of the SPI export so
have added it back in (albeit with some significant changes from the original)

https://discord.com/channels/687207715902193673/687207715902193679/855378432871759922

Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 3c7991423c Remove internal things from the jenkins public API
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 79593909c9 Support rebuilding a build
Note that like the previous implementation, this actually triggers a build of the project, not a re-build of a given build.

Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 449b995261 Initial work on jenkins backend
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:00 +02:00
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Mathias Åhsberg b861c082b6 Support jenkins build details for branches that contains slashes
Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2021-06-12 14:41:48 +00:00
Alexander Kaserbacher 6e829c9a4e Add tests for WarningPanel
Signed-off-by: Alexander Kaserbacher <alex.kaserbacher@icloud.com>
2021-05-22 10:23:36 +02:00
Alexander Kaserbacher 8b13d2e0e3 Show title in WarningPanel depending on the error returned by the Jenkins API
Signed-off-by: Alexander Kaserbacher <alex.kaserbacher@icloud.com>
2021-05-19 21:06:27 +02:00
Alexander Kaserbacher 93068f04e7 capture API errors in Jenkins card and show WarningPanel
Signed-off-by: Alexander Kaserbacher <alex.kaserbacher@icloud.com>
2021-05-16 11:59:48 +02:00
Alexander Kaserbacher 90db93f223 do not post to errorApi in case getLastBuild or getFolder API call threw an error
we do not want to show an error popup for the user here but instead move the error to the card

Signed-off-by: Alexander Kaserbacher <alex.kaserbacher@icloud.com>
2021-05-15 13:08:31 +02:00
Oliver Sand 01ccef4c7f Introduce useRouteRefParams to core-api to retrieve typed route params
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-18 15:55:31 +01:00
Fredrik Adelöw a0098ba3ff Merge pull request #4941 from erdoganoksuz/bug-fix/locale-case
use local version of all case conversion methods
2021-03-17 23:34:09 +01:00
erdoganoksuz 9ca0e40094 locale added all case conversion
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:06:01 +03:00
Nir Gazit 24badb4879 Fixed project slug handling
Signed-off-by: Nir Gazit <nir.gzt@gmail.com>
2021-03-11 21:01:44 +02:00
Nir Gazit e8b2ed9cc6 Changed the way project slug is handled in Jenkins plugin
Signed-off-by: Nir Gazit <nir.gzt@gmail.com>
2021-03-11 20:52:25 +02:00
ImgBotApp 91f110ca29 [ImgBot] Optimize images
*Total -- 279.29kb -> 230.81kb (17.36%)

/microsite/static/img/splunk-black-white-bg.png -- 4.35kb -> 2.18kb (49.84%)
/plugins/jenkins/src/assets/JenkinsLogo.svg -- 29.10kb -> 23.76kb (18.37%)
/docs/assets/dls/storybook-page.png -- 245.84kb -> 204.87kb (16.66%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-03-03 21:46:39 +00:00
Adam Harvey 560b4ad72a Revert maxWidth removal testing 2021-02-23 09:02:45 -05:00
Adam Harvey 7bd6bde388 Move line break to a Box 2021-02-23 08:46:46 -05:00
Adam Harvey 5e67788a30 Use new Backstage breadcrumb 2021-02-22 21:12:18 -05:00
Adam Harvey 3b22f4b977 Add Jenkins logo 2021-02-22 21:11:46 -05:00
Oliver Sand f4c2bcf54b Use a more strict type for variant of cards
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-17 11:41:53 +01:00
Adam Harvey ea1ac7b6ec Fix prettier 2021-02-10 19:17:41 -05:00
Patrik Oldsberg a621697f47 Apply suggestions from code review
Co-authored-by: Rémi Doreau <32459935+ayshiff@users.noreply.github.com>
2021-02-10 22:00:07 +01:00
Adam Harvey 8815cdc004 Smater duration display 2021-02-08 19:29:19 -05:00
Patrik Oldsberg 8e1789e0c3 circleci,cloudbuild,github-actions,jenkins: rename internal entity conditional 2021-02-07 23:49:08 +01:00
Patrik Oldsberg b92541fcc3 Merge branch 'master' into rugvip/ports 2021-02-04 19:44:05 +01:00
Patrik Oldsberg 025c0c7bf8 jenkins: migrate to new composability API 2021-02-02 23:30:10 +01:00
Debajyoti Halder 39e7f4a81e Merge branch 'master' of https://github.com/spotify/backstage into lintMod 2021-02-02 17:02:33 +05:30
Oliver Sand c677643afa Rename from @backstage/plugin-catalog-common-react to @backstage/plugin-catalog-react 2021-01-29 10:54:09 +01:00
Oliver Sand 019fe39a08 Createa @backstage/plugin-catalog-common-react package 2021-01-29 10:54:09 +01:00
Debajyoti Halder 6106345e6d Update project with latest eslint rules 2021-01-29 11:55:12 +05:30