* fix baseline shift in breadcrumbs
* publish jdl and core-js beta versions
* make the run number match the baseline of the breadcrumb
* publish beta versions of core-js and jdl
* make title underlined on hover, this will keep the behaviour consistent with other screens
* release new ver of core-js
* release new version of core-js that has a jdl that is non-beta
* set the original value back if blured with an empty value, force the branch filter to lose focus after change
the setTimeout hack is used to get the functions out of the call stack and only run it when the stack is empty
* fix lint error
* use state to change the value of the branch filter input instead of manipulating the dom directly
* fix lint error
* JENKINS-44666# Pipeline creation for bitbucket server
* Moved GitContent over to scm package
This is the right package for it to be in and there are enouhg tests for
it in github and bitbucket modules.
* test refactoring to run wiremock with differetn target api servers
* Fixed index.jelly description
* AbstractBitbucketScm to serve as super class for server and cloud impl
* Bitbucket cloud models and refactoring
* Bitbucket cloud API
Includes related tests.
* Set bb server url only if the target is bb server and not cloud
* Bug fixes
* Wiremock related adjustment to api factory selection during test
* Test improvements for bb cloud
* Set jenkins root url from request if not already set
This is to keep bitbucket build notifications to work out of the box.
* bitbucket api endpoint to be served from https://bitbucket.org/api
This is to be in line with bitbucket-branch-source that uses this url
instead of https://api.bitbucket.org. This is so that we can use
credentials across to bitbucket-branch-source.
* bitbucket module parent version bump
* Doc improvements and cleanup
* Fixed accidentally moved github wiremock recordings
* Now really fixing it, missed to add these wiremock files
* Upgraded to improved branch source api
* Bitbucket server endpoint and endpoint related refactoring
* i18n test fix
* Corrected error text
* Beginning work on bitbucket front end
* Fixed import
* By default set 'All Branch' trait
* Working bitbucket cloud pipeline creation
* Removed accidentally checked in files
* BitBucket server pipeline creation
* List user org together with teams in bitbucket cloud org list
* Use correct BB server URL API from BB branch source API
* bumped up versions
* Replace BitBucket by Bitbucket
* 'newInstance' renamed to 'create' for consistency
* i18n fixes and improvements
* Reverted code to use server name
We display URL of server below selected server name from drop down. If
name is null then url is displayed instead.
* Updated bitbucket icon
* id added as property to ScmServerEndpoint and related refactoring
* Bitbucket server version validation API
* Bitbucket server version validation in creation flow
* Fixed lint issue
* delint
* Content creation in empty repo and i18n fix
* Fixed bug to correctly determine user org
* Fixed credential/choose server state and some cleanup
* Plain getUser() require higher privilage and we don't need it so removed
* Fixed completions state properly and other fixes mentioned in Cliff
feedback
* Upgraded branch source to released version
* Introduced feature flag to enable bitbucket pipeline creation
* We need to fetch user with credentials, reverted this code for correct
behavior
* Updaed pom version
* Invalid url error message fix
* Test
* Update jenkinsfile'
* typo
* typo
* Increase timeout
* more timeouts
* Refresh page
* wayward backtick
One day we will crash into mars because of a typo
* adding in a reload for activity screen
* relaxing timeouts
* Use sse for refresh
* debugging
* reorder tests
* hail mary
* More debugging
* Ignore test
* fix step description not showing ellipsis when truncated, add title to step description
* publish beta versions of jdl and core-js
* publish jdl and core-js
* feature/JENKINS-41833-artefacts-table * Convert artefacts table to new table design
* feature/JENKINS-41833-artefacts-table * Fix download button style
* feature/JENKINS-41833-artefacts-table * Lint and test fixes
* feature/JENKINS-41833-artefacts-table * Some ATH updates to run on dogfood
* feature/JENKINS-41833-artefacts-table Delete unused old cell link component
* feature/JENKINS-41833-artefacts-table * Rename RunDetailsRow to ActivityDetailsRow as per Cliff's suggestion
* feature/JENKINS-41833-artefacts-table * Fix a typo Keith noticed, and clean up some proptypes
* feature/JENKINS-41833-artefacts-table * Fix proptypes issue
* Update RunDetailsChanges
* Style changes to support multi-line table cells
* Updated unit tests
* Update README to reflect update to Jest (stolen from core-js README)
* [JENKINS-45292-dropdown-footer] Add ability to add custom footer to dropdown menu
* [JENKINS-45292-dropdown-footer] version dance
* [JENKINS-45292-dropdown-footer] prepare next version
* feature/JENKINS-41833-pr-table-update * Update to PR tab for new tables almost complete, need to pull from master
* feature/JENKINS-41833-pr-table-update * Cleanups, squash last few TODOs, and appease the lint gods
* feature/JENKINS-41833-pr-table-update * Fix some stupid errors
* feature/JENKINS-41833-pr-table-update * Update tests
* feature/JENKINS-41833-pr-table-update * Tweak author col
* enhance the github API proxies to support "github" and new "github-enterprise" endpoints; omit explicit API URL from creation call
* add "GitHub Enterprise" as a creation option; adjust layout of buttons to wrap correctly
* add semantic classes to github creation elements so tests don't break after label changes
* ensure the credential ID for github enterprise is "github-enterprise" rather than github (to avoid duplicate ID's)
* add specific logic to handle the case where the user-supplied URL is malformed
* ensure the credential ID for github enterprise is "github-enterprise" rather than github (to avoid duplicate ID's)
* add specific logic to handle the case where the user-supplied URL is malformed
* also check for UnknownHostException
* add support for "GitHub Enterprise URL" field and handle relevant errors; still needs some UI layout refinement
* also check for UnknownHostException
* pass through empty string so it results in invalid URL error from backend (rather than allowing it to default to public github API URL)
* refine layout
* ensure "apiUrl" parameter is not passed during public GitHub creation flow
* first pass at reworking GitHubEnterpriseScm to support multiple credentials stored in "blueocean-github-enterprise-domain" - need to investigate numerous test regressions
* push most logic for custom apiUrl back into GithubScm but make it required in GithubEnterpriseScm
* better test coverage for Github Enterprise token validation
* clean imports
* add functional test for token validaton error; add testing utility to allow for user / domain credentials to be deleted
* rework GithubEnterpriseScm so that apiUrl is a required parameter and drives 404 vs 200 behavior on GET requests
* fix findbugs NPE warning
* suppress type warning
* simplify apiUrl logic
* fix findbugs NPE violation
* hash the apiUrl portion of the credentialId using SHA-256 hex
* GitHub Enterprise credentials should start with "github-enterprise" (scm.ID) rather than the credential domain's name
* just look up the credential explicitly via credentialId; remove the new CredentialUtils.findCredentials method added in this PR since it's no longer necessary
* remove wildcard imports
* add @Nonnull return type to createCredentialId()
* make credential description overridable so that "GitHub Enterprise Access Token" is used for GHE
* return 200 with null credentialId rather than 404
* work-in-progress for looking up existing GHE credential
* add a utility class / function for transforming REST API URL's to include the "apiUrl" param
* cleaner init
* update Github*Api's to append apiUrl in appropriate places
* isolate GHE custom behavior to a FlowManager subclass
* make the "existing token will be used" scenario nicer
* ensure the apiUrl is being passed to the final creation call in GHE scenario
* make the final creation endpoint handle URL's with trailing slashes gracefully
* Enumerate Github Servers (#1190)
* wip of new "choose server" step and "add server" dialog
* add getApiUrl() so it can be easily overriden
* allow the location of credentials step and organizations step to be more easily controlled
* API for github enterprise "servers" backend
* report the error message back to client
* finish up "add server" dialog; add some utilities for dealing with backend error messages and rendering them
* wire up the "next" button in "Choose Server" step to proceed to access token or organizations step
* revert changes related to first draft of UI for GHE credential / apiUrl management
* revert changes related to first draft of UI for GHE credential / apiUrl management
* fix bug where generic error message was showing inappropriately in "invalid URL" case
* revert changes related to first draft of UI for GHE credential / apiUrl management
* fix broken unit test for Enum
* Add a proxy for Github.com to simulate Github Enterprise
* add back the "apiUrl" parameter that was mistakening removed
* improve the error message when unexpected exception is thrown connecting to GHE server; fix broken test
* Find/replace all urls
* Find/replace all urls v2
* use password field for github token
* fix a bug where step indicators were not styled appropriately due status classes not forced to lowercase (with unit test)
* improve docs for Enum and add some test coverage
* make class names in GHE "Choose Server" step more specific
* add some Selenium-based utilities for conditions and text field manipulation
* temp workaround code to allow servers with the "same" API URL to be created by appending random query string param
* first draft of reusable utility for working with GitHub repos from automated tests; needs a bunch of refinement to more flexible
* use new "clearText" utility method
* basic ATH coverage for GitHub Enterprise: create a new server, finish creation, open in editor
* ensure repo name w/ random suffix is used
* write a utility to extract protocol / host from a URL
* ensure the link to create the GitHub personal access token points to the correct hostname (either github.com or GHE)
* me fail english? that's unpossible!
* [JENKINS-45238] first pass at backend changes to null out GitHub enterprise avatarUrl
* wip to satisfy test coverage
* fix silly iterator error
* assert that "avatar" property is nulled out for GHE
* use a placeholder image for GHE orgs
* comments
* simplify the logic that drives the avatar URL
* remove unused imports
* bug/JENKINS-44107-moar-commit-lozenge * Round off the commit lozenge a bit less, since it's only 18px high
* Squircle mode
* bug/JENKINS-44107-moar-commit-lozenge * Fix issues with margin and flex params
* experiment with drawing active state around top-level Pipelines link
* fix test that broke after extension point changes
* fix entertaining typo
* remove bogus "AdminLink" extension point now that PipelinesTopLink will trigger equivalent CSS loading
* rename for clarity
* enhance the github API proxies to support "github" and new "github-enterprise" endpoints; omit explicit API URL from creation call
* add "GitHub Enterprise" as a creation option; adjust layout of buttons to wrap correctly
* add semantic classes to github creation elements so tests don't break after label changes
* ensure the credential ID for github enterprise is "github-enterprise" rather than github (to avoid duplicate ID's)
* add specific logic to handle the case where the user-supplied URL is malformed
* ensure the credential ID for github enterprise is "github-enterprise" rather than github (to avoid duplicate ID's)
* add specific logic to handle the case where the user-supplied URL is malformed
* also check for UnknownHostException
* add support for "GitHub Enterprise URL" field and handle relevant errors; still needs some UI layout refinement
* also check for UnknownHostException
* pass through empty string so it results in invalid URL error from backend (rather than allowing it to default to public github API URL)
* refine layout
* ensure "apiUrl" parameter is not passed during public GitHub creation flow
* first pass at reworking GitHubEnterpriseScm to support multiple credentials stored in "blueocean-github-enterprise-domain" - need to investigate numerous test regressions
* push most logic for custom apiUrl back into GithubScm but make it required in GithubEnterpriseScm
* better test coverage for Github Enterprise token validation
* clean imports
* add functional test for token validaton error; add testing utility to allow for user / domain credentials to be deleted
* rework GithubEnterpriseScm so that apiUrl is a required parameter and drives 404 vs 200 behavior on GET requests
* fix findbugs NPE warning
* suppress type warning
* simplify apiUrl logic
* fix findbugs NPE violation
* hash the apiUrl portion of the credentialId using SHA-256 hex
* GitHub Enterprise credentials should start with "github-enterprise" (scm.ID) rather than the credential domain's name
* just look up the credential explicitly via credentialId; remove the new CredentialUtils.findCredentials method added in this PR since it's no longer necessary
* remove wildcard imports
* add @Nonnull return type to createCredentialId()
* make credential description overridable so that "GitHub Enterprise Access Token" is used for GHE
* return 200 with null credentialId rather than 404
* work-in-progress for looking up existing GHE credential
* add a utility class / function for transforming REST API URL's to include the "apiUrl" param
* cleaner init
* update Github*Api's to append apiUrl in appropriate places
* isolate GHE custom behavior to a FlowManager subclass
* make the "existing token will be used" scenario nicer
* ensure the apiUrl is being passed to the final creation call in GHE scenario
* make the final creation endpoint handle URL's with trailing slashes gracefully
* Enumerate Github Servers (#1190)
* wip of new "choose server" step and "add server" dialog
* add getApiUrl() so it can be easily overriden
* allow the location of credentials step and organizations step to be more easily controlled
* API for github enterprise "servers" backend
* report the error message back to client
* finish up "add server" dialog; add some utilities for dealing with backend error messages and rendering them
* wire up the "next" button in "Choose Server" step to proceed to access token or organizations step
* revert changes related to first draft of UI for GHE credential / apiUrl management
* revert changes related to first draft of UI for GHE credential / apiUrl management
* fix bug where generic error message was showing inappropriately in "invalid URL" case
* revert changes related to first draft of UI for GHE credential / apiUrl management
* fix broken unit test for Enum
* Add a proxy for Github.com to simulate Github Enterprise
* add back the "apiUrl" parameter that was mistakening removed
* improve the error message when unexpected exception is thrown connecting to GHE server; fix broken test
* Find/replace all urls
* Find/replace all urls v2
* use password field for github token
* fix a bug where step indicators were not styled appropriately due status classes not forced to lowercase (with unit test)
* improve docs for Enum and add some test coverage
* make class names in GHE "Choose Server" step more specific
* add some Selenium-based utilities for conditions and text field manipulation
* temp workaround code to allow servers with the "same" API URL to be created by appending random query string param
* first draft of reusable utility for working with GitHub repos from automated tests; needs a bunch of refinement to more flexible
* use new "clearText" utility method
* basic ATH coverage for GitHub Enterprise: create a new server, finish creation, open in editor
* ensure repo name w/ random suffix is used
* write a utility to extract protocol / host from a URL
* ensure the link to create the GitHub personal access token points to the correct hostname (either github.com or GHE)
* me fail english? that's unpossible!
* [JENKINS-45217_title_in_dropdown] allow custom title
* [JENKINS-45217_title_in_dropdown] bump version
* [JENKINS-45217_title_in_dropdown] Add test to cover title behaviour in dropDown
* [JENKINS-45217_title_in_dropdown] extract variable