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

Workflow support for Ansible plugin

    XMLWordPrintable

Details

    Description

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

      Attachments

        Activity

          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

          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

          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

          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

          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.

          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.

          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

          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

          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

          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

          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

          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

          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

          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

          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

          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

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

            Dates

              Created:
              Updated:
              Resolved: