[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title Liam Newman closed an issue as Fixed Bulk closing resolved issues. Jenkins / JENKINS-38564 API to convert json step blob to step syntax (and back) - one step at a time Change By: Liam Newman Status: Resolved Closed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.174751.1475058633000.15944.1571801045981%40Atlassian.JIRA.
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title Andrew Bayer resolved as Fixed Merged and released in 0.3 Jenkins / JENKINS-38564 API to convert json step blob to step syntax (and back) - one step at a time Change By: Andrew Bayer Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title SCM/JIRA link daemon commented on JENKINS-38564 Re: API to convert json step blob to step syntax (and back) - one step at a time Code changed in jenkins User: Andrew Bayer Path: src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ModelParser.groovy src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterAction.java src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterActionStepsTest.java src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/util/IsJsonObjectContaining.java src/test/resources/json/steps/arrayEcho.json src/test/resources/json/steps/simpleEcho.json src/test/resources/json/steps/simpleScript.json http://jenkins-ci.org/commit/pipeline-model-definition-plugin/8d84b1f4ae3368db7aad9bf6c406dd1de37adfd0 Log: Merge pull request #26 from jenkinsci/JENKINS-38564 JENKINS-38564 API to convert json step blob to step syntax (and back) - one step at a time Compare: https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/366510af2385...8d84b1f4ae33 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title SCM/JIRA link daemon commented on JENKINS-38564 Re: API to convert json step blob to step syntax (and back) - one step at a time Code changed in jenkins User: Robert Sandell Path: src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/ast/ModelASTValue.groovy src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/JSONParser.groovy src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/validator/ModelValidator.groovy src/main/resources/ast-schema.json src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AbstractModelDefTest.java src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/EnvironmentTest.java src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/validator/JSONValidationTest.java src/test/resources/json/agentAny.json src/test/resources/json/agentDocker.json src/test/resources/json/agentLabel.json src/test/resources/json/agentNoneWithNode.json src/test/resources/json/errors/emptyEnvironment.json src/test/resources/json/errors/emptyNotifications.json src/test/resources/json/errors/emptyParallel.json src/test/resources/json/errors/emptyPostBuild.json src/test/resources/json/errors/emptyStages.json src/test/resources/json/errors/invalidBuildCondition.json src/test/resources/json/errors/malformed.json src/test/resources/json/errors/missingAgent.json src/test/resources/json/errors/missingRequiredStepParameters.json src/test/resources/json/errors/missingStages.json src/test/resources/json/errors/notInstalledToolType.json src/test/resources/json/errors/notInstalledToolVersion.json src/test/resources/json/errors/rejectParallelMixedInSteps.json src/test/resources/json/errors/rejectStageInSteps.json src/test/resources/json/errors/stageWithoutName.json src/test/resources/json/errors/unknownStepParameter.json src/test/resources/json/errors/unlistedToolType.json src/test/resources/json/globalLibrarySuccess.json src/test/resources/json/legacyMetaStepSyntax.json src/test/resources/json/metaStepSyntax.json src/test/resources/json/parallelPipeline.json src/test/resources/json/postBuildAndNotifications.json src/test/resources/json/simpleEnvironment.json src/test/resources/json/simpleNotification.json src/test/resources/json/simplePipeline.json src/test/resources/json/simplePostBuild.json src/test/resources/json/simpleScript.json src/test/resources/json/simpleTools.json src/test/resources/json/twoStagePipeline.json src/test/resources/json/validStepParameters.json http://jenkins-ci.org/commit/pipeline-model-definition-plugin/d580fa6083ae4cedb0c9b793ae4bcdb3ee069e2f Log: Merge remote-tracking branch 'origin/master' into JENKINS-38564 Add Comment
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title SCM/JIRA link daemon commented on JENKINS-38564 Re: API to convert json step blob to step syntax (and back) - one step at a time Code changed in jenkins User: Robert Sandell Path: src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterAction.java http://jenkins-ci.org/commit/pipeline-model-definition-plugin/eb24b8970afe13a318fbbf715971426aeef6af46 Log: JENKINS-38564 One findbugs NPD warning fixed Compare: https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/b4682fcbc778...eb24b8970afe Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title SCM/JIRA link daemon commented on JENKINS-38564 Re: API to convert json step blob to step syntax (and back) - one step at a time Code changed in jenkins User: Robert Sandell Path: src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterAction.java src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterActionStepsTest.java http://jenkins-ci.org/commit/pipeline-model-definition-plugin/fcf9a65208eeac6b919c86444b8145855017ef90 Log: JENKINS-38564 Always return an array from toJson Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title SCM/JIRA link daemon commented on JENKINS-38564 Re: API to convert json step blob to step syntax (and back) - one step at a time Code changed in jenkins User: Robert Sandell Path: src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/Converter.groovy src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/parser/ModelParser.groovy src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterAction.java src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterActionStepsTest.java http://jenkins-ci.org/commit/pipeline-model-definition-plugin/b4682fcbc7789a4fa8fe5bfe4b747aad996a4d64 Log: JENKINS-38564 Jenkinsfile steps to json Compare: https://github.com/jenkinsci/pipeline-model-definition-plugin/compare/0f7fcb36f52b^...b4682fcbc778 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title SCM/JIRA link daemon commented on JENKINS-38564 Re: API to convert json step blob to step syntax (and back) - one step at a time Code changed in jenkins User: Robert Sandell Path: src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterAction.java src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/endpoints/ModelConverterActionStepsTest.java src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/util/IsJsonObjectContaining.java src/test/resources/json/steps/arrayEcho.json src/test/resources/json/steps/simpleEcho.json src/test/resources/json/steps/simpleScript.json http://jenkins-ci.org/commit/pipeline-model-definition-plugin/0f7fcb36f52b71c272a3c0143be19679a37badde Log: JENKINS-38564 Steps from JSON to Jenkinsfile Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title Michael Neale commented on JENKINS-38564 Re: API to convert json step blob to step syntax (and back) - one step at a time Yes rsandell that would do fine. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title rsandell commented on JENKINS-38564 Re: API to convert json step blob to step syntax (and back) - one step at a time So what is the expected input? One object of whatever is normally just inside the steps array? Like: { "name": "echo", "arguments": { "isConstant": true, "value": "hello" } } Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title Andrew Bayer assigned an issue to rsandell Jenkins / JENKINS-38564 API to convert json step blob to step syntax (and back) - one step at a time Change By: Andrew Bayer Assignee: Andrew Bayer rsandell Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38564) API to convert json step blob to step syntax (and back) - one step at a time
Title: Message Title Michael Neale created an issue Jenkins / JENKINS-38564 API to convert json step blob to step syntax (and back) - one step at a time Issue Type: Bug Assignee: Andrew Bayer Components: pipeline-model-definition-plugin Created: 2016/Sep/28 10:30 AM Priority: Minor Reporter: Michael Neale It would be great to take a chunk of json, transform to the equivalent model step, and back again. This includes block scoped steps (well any step really) = Add Comment This message was sent