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

Workflow support for Ansible plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It would be nice to have user friendly commands to run ansible in workflow scripts.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jean-Christophe Sirot
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandInvocation.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookInvocation.java
          src/main/java/org/jenkinsci/plugins/ansible/CLIRunner.java
          src/main/java/org/jenkinsci/plugins/ansible/Inventory.java
          src/main/java/org/jenkinsci/plugins/ansible/InventoryContent.java
          src/main/java/org/jenkinsci/plugins/ansible/InventoryPath.java
          src/main/java/org/jenkinsci/plugins/ansible/Utils.java
          src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java
          http://jenkins-ci.org/commit/ansible-plugin/3c3c1d2a0703c980089e23573fe6fe7ba122ebd0
          Log:
          JENKINS-30398 Add support for workflow plugin

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jean-Christophe Sirot Path: pom.xml src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandInvocation.java src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder.java src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookInvocation.java src/main/java/org/jenkinsci/plugins/ansible/CLIRunner.java src/main/java/org/jenkinsci/plugins/ansible/Inventory.java src/main/java/org/jenkinsci/plugins/ansible/InventoryContent.java src/main/java/org/jenkinsci/plugins/ansible/InventoryPath.java src/main/java/org/jenkinsci/plugins/ansible/Utils.java src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java http://jenkins-ci.org/commit/ansible-plugin/3c3c1d2a0703c980089e23573fe6fe7ba122ebd0 Log: JENKINS-30398 Add support for workflow plugin
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jean-Christophe Sirot
          Path:
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandInvocation.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder.java
          src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java
          src/main/resources/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder/config.jelly
          src/main/resources/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder/config.jelly
          http://jenkins-ci.org/commit/ansible-plugin/904c2f65b2043528ec2b5f1b41f38524aa55c8bd
          Log:
          JENKINS-30398 Implements SimpleBuildStep

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jean-Christophe Sirot Path: src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandInvocation.java src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder.java src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java src/main/resources/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder/config.jelly src/main/resources/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder/config.jelly http://jenkins-ci.org/commit/ansible-plugin/904c2f65b2043528ec2b5f1b41f38524aa55c8bd Log: JENKINS-30398 Implements SimpleBuildStep
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jean-Christophe Sirot
          Path:
          src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder.java
          src/main/java/org/jenkinsci/plugins/ansible/Utils.java
          src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java
          http://jenkins-ci.org/commit/ansible-plugin/3b025b269deb8e518c8561607508a4a93e97e293
          Log:
          JENKINS-30398 When run inside a container (with the docker workflow plugin) the /tmp dir, where the SSH key is copied, is not available. When ansible is invoked from a workflow, copy the provate key into the workspace.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jean-Christophe Sirot Path: src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder.java src/main/java/org/jenkinsci/plugins/ansible/Utils.java src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java http://jenkins-ci.org/commit/ansible-plugin/3b025b269deb8e518c8561607508a4a93e97e293 Log: JENKINS-30398 When run inside a container (with the docker workflow plugin) the /tmp dir, where the SSH key is copied, is not available. When ansible is invoked from a workflow, copy the provate key into the workspace.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jean-Christophe Sirot
          Path:
          src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java
          http://jenkins-ci.org/commit/ansible-plugin/e3f4e9595fa77735d894c6b525425736c3b07263
          Log:
          JENKINS-30398 Add support for extra parameters in workflow

          Compare: https://github.com/jenkinsci/ansible-plugin/compare/b1ee8dd782d4...e3f4e9595fa7

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jean-Christophe Sirot Path: src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java http://jenkins-ci.org/commit/ansible-plugin/e3f4e9595fa77735d894c6b525425736c3b07263 Log: JENKINS-30398 Add support for extra parameters in workflow Compare: https://github.com/jenkinsci/ansible-plugin/compare/b1ee8dd782d4...e3f4e9595fa7
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jean-Christophe Sirot
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandInvocation.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder.java
          src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookInvocation.java
          src/main/java/org/jenkinsci/plugins/ansible/CLIRunner.java
          src/main/java/org/jenkinsci/plugins/ansible/Inventory.java
          src/main/java/org/jenkinsci/plugins/ansible/InventoryContent.java
          src/main/java/org/jenkinsci/plugins/ansible/InventoryPath.java
          src/main/java/org/jenkinsci/plugins/ansible/Utils.java
          src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java
          src/main/resources/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder/config.jelly
          src/main/resources/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder/config.jelly
          http://jenkins-ci.org/commit/ansible-plugin/67943cf91f8b024797c97f898d29deab9b79ddb1
          Log:
          JENKINS-30398 Initial (experimental) support for workflow plugin

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jean-Christophe Sirot Path: pom.xml src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandInvocation.java src/main/java/org/jenkinsci/plugins/ansible/AnsibleInstallation.java src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder.java src/main/java/org/jenkinsci/plugins/ansible/AnsiblePlaybookInvocation.java src/main/java/org/jenkinsci/plugins/ansible/CLIRunner.java src/main/java/org/jenkinsci/plugins/ansible/Inventory.java src/main/java/org/jenkinsci/plugins/ansible/InventoryContent.java src/main/java/org/jenkinsci/plugins/ansible/InventoryPath.java src/main/java/org/jenkinsci/plugins/ansible/Utils.java src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java src/main/resources/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder/config.jelly src/main/resources/org/jenkinsci/plugins/ansible/AnsiblePlaybookBuilder/config.jelly http://jenkins-ci.org/commit/ansible-plugin/67943cf91f8b024797c97f898d29deab9b79ddb1 Log: JENKINS-30398 Initial (experimental) support for workflow plugin
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jean-Christophe Sirot
          Path:
          src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java
          src/main/resources/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep/config.jelly
          src/main/resources/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep/help.html
          http://jenkins-ci.org/commit/ansible-plugin/71aaedaf24e1fcd6f3b4d66caffc325ade335863
          Log:
          JENKINS-30398 code snippet generator support

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jean-Christophe Sirot Path: src/main/java/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep.java src/main/resources/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep/config.jelly src/main/resources/org/jenkinsci/plugins/ansible/workflow/AnsiblePlaybookStep/help.html http://jenkins-ci.org/commit/ansible-plugin/71aaedaf24e1fcd6f3b4d66caffc325ade335863 Log: JENKINS-30398 code snippet generator support
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jean-Christophe Sirot
          Path:
          COMPATIBILITY.md
          http://jenkins-ci.org/commit/workflow-plugin/32b603f4b547f14b5b4c3461952e172e8af1711e
          Log:
          JENKINS-30398 Updating COMPATIBILITY.md

          Ansible plugin is compatible since version 0.4

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jean-Christophe Sirot Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/32b603f4b547f14b5b4c3461952e172e8af1711e Log: JENKINS-30398 Updating COMPATIBILITY.md Ansible plugin is compatible since version 0.4
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          COMPATIBILITY.md
          http://jenkins-ci.org/commit/workflow-plugin/7b4e1f0fc91f6694f4509b703cae4140b3b9a8a3
          Log:
          Merge pull request #283 from jcsirot/master

          JENKINS-30398 Updating COMPATIBILITY.md

          Compare: https://github.com/jenkinsci/workflow-plugin/compare/a9aa87c1b4c6...7b4e1f0fc91f

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/7b4e1f0fc91f6694f4509b703cae4140b3b9a8a3 Log: Merge pull request #283 from jcsirot/master JENKINS-30398 Updating COMPATIBILITY.md Compare: https://github.com/jenkinsci/workflow-plugin/compare/a9aa87c1b4c6...7b4e1f0fc91f

            People

            • Assignee:
              sirot Jean-Christophe Sirot
              Reporter:
              sirot Jean-Christophe Sirot
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: