Skip to content

Don't show "No source inputs" message for pipeline build strategy #942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

spadgett
Copy link
Member

Fixes #941

@jwforres PTAL

@@ -254,7 +254,7 @@
</div>
<dt ng-if-start="buildConfig.spec.source.binary.asFile">Binary Input as File:</dt>
<dd ng-if-end>{{buildConfig.spec.source.binary.asFile}}</dd>
<div ng-if="buildConfig.spec.source.type == 'None'">
<div ng-if="buildConfig.spec.source.type == 'None' && !(buildConfig | isJenkinsPipelineStrategy)">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it still look ok if there is no Jenkinsfile embedded

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to use Git source and Jenkinsfile path if you do not embed the Jenkinsfile.

@jwforres
Copy link
Member

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 314e5b4

@openshift-bot
Copy link

openshift-bot commented Nov 29, 2016

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/770/) (Base Commit: b8f3206)

@openshift-bot openshift-bot merged commit f892e0a into openshift:master Nov 29, 2016
@spadgett spadgett deleted the fix-no-source-inputs-pipeline-build branch November 29, 2016 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants