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

Add support for Ansible Plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Plugin: https://wiki.jenkins-ci.org/display/JENKINS/Ansible+Plugin

      Configuration section
      <builders>
        <org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder plugin="ansible@0.3.1">
          <limit>subset</limit>
          <tags>runt</tags>
          <skippedTags>skip</skippedTags>
          <startAtTask>start</startAtTask>
          <credentialsId>9dd2b5cc-33fd-4684-b678-5d66ea24580d</credentialsId>
          <playbook>path_playbook</playbook>
          <inventory class="org.jenkinsci.plugins.ansible.InventoryPath">
            <path>path</path>
          </inventory>
          <sudo>true</sudo>
          <sudoUser>sudo</sudoUser>
          <forks>5</forks>
          <unbufferedOutput>true</unbufferedOutput>
          <colorizedOutput>true</colorizedOutput>
          <hostKeyChecking>true</hostKeyChecking>
          <additionalParameters>additional</additionalParameters>
        </org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder>
      
        <org.jenkinsci.plugins.ansible.AnsibleAdHocCommandBuilder plugin="ansible@0.3.1">
          <credentialsId>9dd2b5cc-33fd-4684-b678-5d66ea24580d</credentialsId>
          <hostPattern>pattern</hostPattern>
          <inventory class="org.jenkinsci.plugins.ansible.InventoryPath">
            <path>file</path>
          </inventory>
          <module>module</module>
          <command>command</command>
          <sudo>true</sudo>
          <sudoUser>sudo</sudoUser>
          <forks>5</forks>
          <unbufferedOutput>true</unbufferedOutput>
          <colorizedOutput>true</colorizedOutput>
          <hostKeyChecking>true</hostKeyChecking>
          <additionalParameters>additional</additionalParameters>
        </org.jenkinsci.plugins.ansible.AnsibleAdHocCommandBuilder>
      </builders>
      
      <inventory class="org.jenkinsci.plugins.ansible.InventoryContent">
        <content>content</content>
        <dynamic>true</dynamic>
      </inventory>
      <inventory class="org.jenkinsci.plugins.ansible.InventoryPath">
        <path>file</path>
      </inventory>
      

        Attachments

          Activity

          Hide
          lanwen Kirill Merkushev added a comment -

          Think it can be done as extension point in plugin itself. I'll try to do so on weekend

          Show
          lanwen Kirill Merkushev added a comment - Think it can be done as extension point in plugin itself. I'll try to do so on weekend
          Show
          lanwen Kirill Merkushev added a comment - https://github.com/jenkinsci/ansible-plugin/pull/1
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kirill Merkushev
          Path:
          README.md
          pom.xml
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java
          src/main/java/org/jenkinsci/plugins/ansible/jobdsl/AnsibleJobDslExtension.java
          src/main/java/org/jenkinsci/plugins/ansible/jobdsl/context/AnsibleContext.java
          src/test/java/org/jenkinsci/plugins/ansible/jobdsl/DslJobRule.java
          src/test/java/org/jenkinsci/plugins/ansible/jobdsl/JobDslIntegrationTest.java
          src/test/resources/jobdsl/adhoc.groovy
          src/test/resources/jobdsl/playbook.groovy
          http://jenkins-ci.org/commit/ansible-plugin/09b47e9b693e86fd38d7a8297d9c444c7cc68499
          Log:
          JENKINS-31790 Job DSL support in ansible-plugin as extension point

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kirill Merkushev Path: README.md pom.xml src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java src/main/java/org/jenkinsci/plugins/ansible/jobdsl/AnsibleJobDslExtension.java src/main/java/org/jenkinsci/plugins/ansible/jobdsl/context/AnsibleContext.java src/test/java/org/jenkinsci/plugins/ansible/jobdsl/DslJobRule.java src/test/java/org/jenkinsci/plugins/ansible/jobdsl/JobDslIntegrationTest.java src/test/resources/jobdsl/adhoc.groovy src/test/resources/jobdsl/playbook.groovy http://jenkins-ci.org/commit/ansible-plugin/09b47e9b693e86fd38d7a8297d9c444c7cc68499 Log: JENKINS-31790 Job DSL support in ansible-plugin as extension point
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jean-Christophe Sirot
          Path:
          README.md
          pom.xml
          src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java
          src/main/java/org/jenkinsci/plugins/ansible/jobdsl/AnsibleJobDslExtension.java
          src/main/java/org/jenkinsci/plugins/ansible/jobdsl/context/AnsibleContext.java
          src/test/java/org/jenkinsci/plugins/ansible/jobdsl/DslJobRule.java
          src/test/java/org/jenkinsci/plugins/ansible/jobdsl/JobDslIntegrationTest.java
          src/test/resources/jobdsl/adhoc.groovy
          src/test/resources/jobdsl/playbook.groovy
          http://jenkins-ci.org/commit/ansible-plugin/3432387a522e311e7d0a1a1ce7a92d4d91c5043a
          Log:
          Merge pull request #1 from lanwen/JENKINS-31790_jobdsl

          JENKINS-31790 Job DSL support in ansible-plugin as extension point

          Compare: https://github.com/jenkinsci/ansible-plugin/compare/71aaedaf24e1...3432387a522e

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jean-Christophe Sirot Path: README.md pom.xml src/main/java/org/jenkinsci/plugins/ansible/AnsibleAdHocCommandBuilder.java src/main/java/org/jenkinsci/plugins/ansible/jobdsl/AnsibleJobDslExtension.java src/main/java/org/jenkinsci/plugins/ansible/jobdsl/context/AnsibleContext.java src/test/java/org/jenkinsci/plugins/ansible/jobdsl/DslJobRule.java src/test/java/org/jenkinsci/plugins/ansible/jobdsl/JobDslIntegrationTest.java src/test/resources/jobdsl/adhoc.groovy src/test/resources/jobdsl/playbook.groovy http://jenkins-ci.org/commit/ansible-plugin/3432387a522e311e7d0a1a1ce7a92d4d91c5043a Log: Merge pull request #1 from lanwen/ JENKINS-31790 _jobdsl JENKINS-31790 Job DSL support in ansible-plugin as extension point Compare: https://github.com/jenkinsci/ansible-plugin/compare/71aaedaf24e1...3432387a522e

            People

            • Assignee:
              lanwen Kirill Merkushev
              Reporter:
              v2v Victor Martinez
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: