[JENKINS-36903] test for things that we later use and if not present would throw an exception (#375)
This commit is contained in:
parent
64f4ce5ea6
commit
3b3cd1764e
|
@ -5,7 +5,8 @@ import revisionInfo from '../../../target/classes/io/jenkins/blueocean/revisionI
|
|||
|
||||
export class DevelopmentFooter extends Component {
|
||||
render() {
|
||||
if (!revisionInfo || !revisionInfo.name) {
|
||||
// testing basic integrity
|
||||
if (!revisionInfo || !revisionInfo.sha) {
|
||||
// TODO: At minimum we should return Jenkins version. Jenkins version is always present
|
||||
// in X-Hudson HTTP header. Something to be handled elsewhere during load time by
|
||||
// inspecting HTTP response headers
|
||||
|
|
Loading…
Reference in New Issue