The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Deploy to container Plugin

deploy: Deploy war/ear to a container

  • adapters
      Array / List of Nested Choice of Objects
    • glassfish2
      • home
        GlassFish installation directory. This directory should contain files like "bin/asadmin[.bat]"
        • Type: String
      • credentialsId
        • Type: String
      • adminPort
        Admin port of GlassFish. This is the same port as the admin GUI, and by default it's 4848.
        • Type: String
    • glassfish3
      • home
        GlassFish installation directory. This directory should contain files like "bin/asadmin[.bat]"
        • Type: String
      • credentialsId
        • Type: String
      • adminPort
        Admin port of GlassFish. This is the same port as the admin GUI, and by default it's 4848.
        • Type: String
      • hostname
        The hostname/ip of an remote GlassFish runtime (your.host.name, 127.0.0.1 etc.). If set "home" property is ignored.
        • Type: String
    • glassfish4
      • home
        GlassFish installation directory. This directory should contain files like "bin/asadmin[.bat]"
        • Type: String
      • credentialsId
        • Type: String
      • adminPort
        Admin port of GlassFish. This is the same port as the admin GUI, and by default it's 4848.
        • Type: String
      • hostname
        The hostname/ip of an remote GlassFish runtime (your.host.name, 127.0.0.1 etc.). If set "home" property is ignored.
        • Type: String
    • jboss3
      • url
        • Type: String
      • credentialsId
        • Type: String
    • jboss4
      • url
        • Type: String
      • credentialsId
        • Type: String
    • jboss5
      • url
        • Type: String
      • credentialsId
        • Type: String
    • jboss6
      • url
        • Type: String
      • credentialsId
        • Type: String
    • jboss7
      • url
        • Type: String
      • credentialsId
        • Type: String
    • tomcat4
      • url
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
        • Type: String
      • credentialsId
        • Type: String
      • path
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
        • Type: String
    • tomcat5
      • url
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
        • Type: String
      • credentialsId
        • Type: String
      • path
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
        • Type: String
    • tomcat6
      • url
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
        • Type: String
      • credentialsId
        • Type: String
      • path
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
        • Type: String
    • tomcat7
      • url
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
        • Type: String
      • credentialsId
        • Type: String
      • path
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
        • Type: String
    • tomcat8
      • url
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
        • Type: String
      • credentialsId
        • Type: String
      • path
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
        • Type: String
    • tomcat9
      • url
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
        • Type: String
      • credentialsId
        • Type: String
      • path
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
        • Type: String
  • war
    War/ear files to deploy. Relative to the workspace root. You can also specify Ant-style GLOBs, like "**/*.war"
    • Type: String
  • contextPath (optional)
    The context path that the container should use to publish the WAR/EAR. Note that this may get overridden if the WAR/EAR to deploy has container-specific configuration embedded inside.
    • Type: String
  • onFailure (optional)
    • Type: boolean

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.