@@ -1774,6 +1774,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1774
1774
"<div ng-if=\"buildConfig && unfilteredBuilds && (unfilteredBuilds | hashSize) === 0\" class=\"empty-state-message text-center\">\n" +
1775
1775
"<h2>No builds.</h2>\n" +
1776
1776
"<p>\n" +
1777
+ "<span ng-if=\"!buildConfig.spec.strategy.jenkinsPipelineStrategy\">\n" +
1777
1778
"<span ng-if=\"!('buildconfigs/instantiate' | canI : 'create')\">\n" +
1778
1779
"Builds will create an image from\n" +
1779
1780
"</span>\n" +
@@ -1787,6 +1788,20 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1787
1788
"<span ng-if=\"buildConfig.spec.source.type !== 'Git'\">\n" +
1788
1789
"build configuration {{buildConfig.metadata.name}}.\n" +
1789
1790
"</span>\n" +
1791
+ "</span>\n" +
1792
+ "<span ng-if=\"buildConfig.spec.strategy.jenkinsPipelineStrategy\">\n" +
1793
+ "No pipeline builds have run for {{buildConfigName}}.\n" +
1794
+ "<br>\n" +
1795
+ "<span ng-if=\"buildConfig.spec.strategy.jenkinsPipelineStrategy.jenkinsfile\">\n" +
1796
+ "View the <a ng-href=\"{{(buildConfig | navigateResourceURL) + '?tab=configuration'}}\">Jenkinsfile</a> to see what stages will run.\n" +
1797
+ "</span>\n" +
1798
+ "<span ng-if=\"buildConfig.spec.strategy.jenkinsPipelineStrategy.jenkinsfilePath\">\n" +
1799
+ "View the file <code>{{buildConfig.spec.strategy.jenkinsPipelineStrategy.jenkinsfilePath}}</code> in the\n" +
1800
+ "<a ng-if=\"buildConfig | jenkinsfileLink\" ng-href=\"buildConfig | jenkinsfileLink\">source repository</a>\n" +
1801
+ "<span ng-if=\"!(buildConfig | jenkinsfileLink)\">source repository</span>\n" +
1802
+ "to see what stages will run.\n" +
1803
+ "</span>\n" +
1804
+ "</span>\n" +
1790
1805
"</p>\n" +
1791
1806
"<button class=\"btn btn-primary btn-lg\" ng-click=\"startBuild(buildConfig.metadata.name)\" ng-if=\"'buildconfigs/instantiate' | canI : 'create'\">\n" +
1792
1807
"<span ng-if=\"!(buildConfig | isJenkinsPipelineStrategy)\">\n" +
@@ -10666,7 +10681,18 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
10666
10681
"</div>\n" +
10667
10682
"</div>\n" +
10668
10683
"<div ng-if=\"buildsLoaded && !(interestingBuildsByConfig[buildConfigName] | hashSize)\">\n" +
10669
- "<em>No pipeline builds have run for {{buildConfigName}}.</em>\n" +
10684
+ "<p>\n" +
10685
+ "No pipeline builds have run for {{buildConfigName}}.\n" +
10686
+ "<span ng-if=\"buildConfig.spec.strategy.jenkinsPipelineStrategy.jenkinsfile\">\n" +
10687
+ "View the <a ng-href=\"{{(buildConfig | navigateResourceURL) + '?tab=configuration'}}\">Jenkinsfile</a> to see what stages will run.\n" +
10688
+ "</span>\n" +
10689
+ "<span ng-if=\"buildConfig.spec.strategy.jenkinsPipelineStrategy.jenkinsfilePath\">\n" +
10690
+ "View the file <code>{{buildConfig.spec.strategy.jenkinsPipelineStrategy.jenkinsfilePath}}</code> in the\n" +
10691
+ "<a ng-if=\"buildConfig | jenkinsfileLink\" ng-href=\"buildConfig | jenkinsfileLink\">source repository</a>\n" +
10692
+ "<span ng-if=\"!(buildConfig | jenkinsfileLink)\">source repository</span>\n" +
10693
+ "to see what stages will run.\n" +
10694
+ "</span>\n" +
10695
+ "</p>\n" +
10670
10696
"</div>\n" +
10671
10697
"<div ng-if=\"interestingBuildsByConfig[buildConfigName] | hashSize\">\n" +
10672
10698
"<div ng-if=\"!(statsByConfig[buildConfigName].avgDuration | isNil)\" class=\"hidden-xs pull-right text-muted\">\n" +
0 commit comments