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 : String
        GlassFish installation directory. This directory should contain files like "bin/asadmin[.bat]"
      • credentialsId : String
      • adminPort : String
        Admin port of GlassFish. This is the same port as the admin GUI, and by default it's 4848.
    • glassfish3
      • home : String
        GlassFish installation directory. This directory should contain files like "bin/asadmin[.bat]"
      • credentialsId : String
      • adminPort : String
        Admin port of GlassFish. This is the same port as the admin GUI, and by default it's 4848.
      • hostname : String
        The hostname/ip of an remote GlassFish runtime (your.host.name, 127.0.0.1 etc.). If set "home" property is ignored.
    • glassfish4
      • home : String
        GlassFish installation directory. This directory should contain files like "bin/asadmin[.bat]"
      • credentialsId : String
      • adminPort : String
        Admin port of GlassFish. This is the same port as the admin GUI, and by default it's 4848.
      • hostname : String
        The hostname/ip of an remote GlassFish runtime (your.host.name, 127.0.0.1 etc.). If set "home" property is ignored.
    • jboss3
      • url : String
      • credentialsId : String
    • jboss4
      • url : String
      • credentialsId : String
    • jboss5
      • url : String
      • credentialsId : String
    • jboss6
      • url : String
      • credentialsId : String
    • jboss7
      • url : String
      • credentialsId : String
    • tomcat4
      • url : String
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
      • credentialsId : String
      • path : String
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
    • tomcat5
      • url : String
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
      • credentialsId : String
      • path : String
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
    • tomcat6
      • url : String
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
      • credentialsId : String
      • path : String
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
    • tomcat7
      • url : String
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
      • credentialsId : String
      • path : String
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
    • tomcat8
      • url : String
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
      • credentialsId : String
      • path : String
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
    • tomcat9
      • url : String
        The Tomcat base URL to use for deployment (e.g. https://tomcat.my-company.com:8443).
      • credentialsId : String
      • path : String
        The alternative manager context path. Overwrites the default value '/manager' for Tomcat 4-6 or '/manager/text' for Tomcat 7+.
  • war : String
    War/ear files to deploy. Relative to the workspace root. You can also specify Ant-style GLOBs, like "**/*.war"
  • contextPath : String (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.
  • onFailure : boolean (optional)

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.