Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40239

Add descriptions for build conditions and expose them in the editor metadata

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      To build the pipeline graphical editor, having descriptors for agents, build conditions and other specialized aspects of the pipeline as necessary, will make life a lot easier for generating editors and assisting the user.

        Attachments

          Issue Links

            Activity

            Hide
            abayer Andrew Bayer added a comment -

            I already added an endpoint in the editor metadata service for agents, and one for build condition names. But! I'm reusing this ticket for adding descriptions for build conditions.

            Show
            abayer Andrew Bayer added a comment - I already added an endpoint in the editor metadata service for agents, and one for build condition names. But! I'm reusing this ticket for adding descriptions for build conditions.
            Show
            abayer Andrew Bayer added a comment - PR up in Declarative at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/76
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Aborted.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Always.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Changed.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Failure.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Success.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Unstable.groovy
            pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/model/BuildCondition.java
            pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Messages.properties
            http://jenkins-ci.org/commit/pipeline-model-definition-plugin/e047542af22d24c4a5fe427436df95f29a20aa40
            Log:
            JENKINS-40239 Add descriptions for build conditions

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Aborted.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Always.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Changed.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Failure.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Success.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Unstable.groovy pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/model/BuildCondition.java pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Messages.properties http://jenkins-ci.org/commit/pipeline-model-definition-plugin/e047542af22d24c4a5fe427436df95f29a20aa40 Log: JENKINS-40239 Add descriptions for build conditions
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Aborted.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Always.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Changed.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Failure.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Success.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Unstable.groovy
            pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/model/BuildCondition.java
            pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Messages.properties
            http://jenkins-ci.org/commit/pipeline-model-definition-plugin/a1963cdf49d71f1d81e6b668122138a0e4c90d99
            Log:
            Merge pull request #76 from abayer/jenkins-40239

            JENKINS-40239 Add descriptions for build conditions

            Compare: https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/b7ad371b24ff...a1963cdf49d7

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Aborted.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Always.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Changed.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Failure.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Success.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Unstable.groovy pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/model/BuildCondition.java pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions/Messages.properties http://jenkins-ci.org/commit/pipeline-model-definition-plugin/a1963cdf49d71f1d81e6b668122138a0e4c90d99 Log: Merge pull request #76 from abayer/jenkins-40239 JENKINS-40239 Add descriptions for build conditions Compare: https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/b7ad371b24ff...a1963cdf49d7
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pom.xml
            src/main/java/io/blueocean/rest/pipeline/editor/ExportedBuildCondition.java
            src/main/java/io/blueocean/rest/pipeline/editor/PipelineMetadataService.java
            http://jenkins-ci.org/commit/blueocean-pipeline-editor-plugin/60123c707cd80b332d8a1bb599d2e34b93339539
            Log:
            [FIXED JENKINS-40239] Add build condition descriptions to metadata

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pom.xml src/main/java/io/blueocean/rest/pipeline/editor/ExportedBuildCondition.java src/main/java/io/blueocean/rest/pipeline/editor/PipelineMetadataService.java http://jenkins-ci.org/commit/blueocean-pipeline-editor-plugin/60123c707cd80b332d8a1bb599d2e34b93339539 Log: [FIXED JENKINS-40239] Add build condition descriptions to metadata

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                michaelneale Michael Neale
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: