All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.bamboo.bamboo-sauceondemand-plugin.1.6.65.source-code.atlassian-plugin.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${project.name}" plugins-version="2">
    <plugin-info>
        <description>${project.description}</description>
        <version>${project.version}</version>
        <vendor name="${project.organization.name}" url="${project.organization.url}"/>
        <param name="plugin-icon">images/pluginIcon.png</param>
        <param name="plugin-logo">images/pluginLogo.png</param>
        <param name="atlassian-data-center-compatible">true</param>
    </plugin-info>

    <!--<component-import key="administrationConfigurationAccessor" interface="com.atlassian.bamboo.configuration.AdministrationConfigurationAccessor"/>-->

    <web-resource key="sauceImages" name="sauceImages">
        <resource type="download" name="sauce_labs_horizontal.png" location="images/sauce_labs_horizontal.png"/>
        <resource type="download" name="sauce_icon.jpg" location="images/sauce_icon.jpg"/>
    </web-resource>

    <web-resource key="sodJS" name="sodJS">
        <dependency>com.atlassian.auiplugin:ajs</dependency>
        <dependency>bamboo.web.resources:bamboojs</dependency>
        <dependency>bamboo.web.resources:extraJQuery</dependency>
        <resource type="download" name="jquery.blockUI-min.js" location="js/jquery.blockUI-min.js"/>
        <resource type="download" name="jquery.json-min.js" location="js/jquery.json-2.2.min.js"/>
        <resource type="download" name="sauceondemand.js" location="js/sauceondemand.js"/>
    </web-resource>

    <web-resource key="sodCSS" name="sodCSS">
        <resource type="download" name="sauceondemand.css" location="css/sauceondemand.css"/>
    </web-resource>

    <preBuildAction key="sodBuildConfigurator" name="Sauce OnDemand Build Configurator"
                    class="com.saucelabs.bamboo.sod.action.BuildConfigurator">
        <resource type="freemarker" name="edit" location="templates/build/sodEdit.ftl"/>
        <resource type="freemarker" name="view" location="templates/build/sodView.ftl"/>
        <description>Configures Sauce OnDemand Build Plan Settings</description>
    </preBuildAction>

    <preBuildQueuedAction key="sodEnvironmentConfigurator" name="Sauce OnDemand Environment Configurator"
                          class="com.saucelabs.bamboo.sod.action.EnvironmentConfigurator">
    </preBuildQueuedAction>

    <buildProcessor key="sodPostRunner" name="Sauce OnDemand Post Runner"
                          class="com.saucelabs.bamboo.sod.action.PostBuildAction">
        <skipIfFailed>false</skipIfFailed>
    </buildProcessor>


    <xwork key="sodActions" name="Sauce OnDemand Actions">
        <package name="sodAdmin" extends="admin" namespace="/admin/sauceondemand">
            <action name="configureSauceOnDemand" class="com.saucelabs.bamboo.sod.admin.action.ConfigureSODAction" method="edit">
                <result name="input" type="freemarker">/templates/admin/configureSauceOnDemand.ftl</result>
                <result name="success" type="freemarker">/templates/admin/configureSauceOnDemand.ftl</result>
                <result name="error" type="freemarker">/error.ftl</result>
                <param name="mode">edit</param>
            </action>

            <action name="configureSauceOnDemandSave" class="com.saucelabs.bamboo.sod.admin.action.ConfigureSODAction"
                    method="save">
                <result name="input" type="freemarker">/templates/admin/configureSauceOnDemand.ftl</result>
                <result name="success" type="freemarker">/templates/admin/configureSauceOnDemand.ftl</result>
                <result name="error" type="freemarker">/error.ftl</result>
            </action>

            <action name="checkSauceConnectVersion"
                    class="com.saucelabs.bamboo.sod.admin.action.CheckSauceConnectVersionAction"
                    method="default">
                <result name="success" type="freemarker">/templates/admin/updateSauceConnect.ftl</result>
                <result name="none" type="freemarker">/templates/admin/configureSauceOnDemand.ftl</result>
                <result name="error" type="freemarker">/error.ftl</result>
            </action>

            <action name="checkSauceConnectVersionSubmit"
                    class="com.saucelabs.bamboo.sod.admin.action.CheckSauceConnectVersionAction"
                    method="submit">
                <result name="input" type="freemarker">/templates/admin/configureSauceOnDemand.ftl</result>
                <result name="success" type="freemarker">/templates/admin/configureSauceOnDemand.ftl</result>
                <result name="error" type="freemarker">/error.ftl</result>
            </action>

        </package>
        <package name="sodPlan" extends="buildView">
            <action name="viewSauceOnDemandPlan" class="com.saucelabs.bamboo.sod.plan.ViewSODAction" method="default">
                <result name="input" type="freemarker">/templates/plan/viewSauceOnDemand.ftl</result>
                <result name="success" type="freemarker">/templates/plan/viewSauceOnDemand.ftl</result>
                <result name="error" type="freemarker">/error.ftl</result>
            </action>

        </package>
        <package name="sodResult" extends="buildView">
            <action name="viewSauceOnDemandResult" class="com.saucelabs.bamboo.sod.plan.ViewSODAction" method="default">
                <result name="input" type="freemarker">/templates/plan/viewSauceOnDemandBuildResult.ftl</result>
                <result name="success" type="freemarker">/templates/plan/viewSauceOnDemandBuildResult.ftl</result>
                <result name="error" type="freemarker">/error.ftl</result>
            </action>
            <action name="viewSauceJobResult" class="com.saucelabs.bamboo.sod.plan.ViewSauceJobAction" method="default">
                <result name="input" type="freemarker">/templates/plan/viewSauceJobResult.ftl</result>
                <result name="success" type="freemarker">/templates/plan/viewSauceJobResult.ftl</result>
                <result name="error" type="freemarker">/error.ftl</result>
            </action>

        </package>
    </xwork>

    <web-item key="sodAdminLink" name="sodAdminLink" section="system.admin/communication" weight="130">
        <label key="Sauce OnDemand"/>
        <link linkId="sauceOnDemandConfig">/admin/sauceondemand/configureSauceOnDemand.action</link>
    </web-item>

    <web-item key="sodPlanDetails" name="sauce" section="chainResults.subMenu/chainResults" weight="50">
        <description key="sodPlanDetails.desc">Provides details of the Sauce OnDemand results</description>
        <label key="Sauce Jobs"/>
        <link linkId="saucePlanDetails">/build/result/viewSauceOnDemandResult.action?buildKey=${buildKey}&amp;buildNumber=${buildNumber}</link>
        <condition class="com.saucelabs.bamboo.sod.plan.ViewSODCondition">

        </condition>
    </web-item>

    <web-item key="sodResultsDetails" name="sauce" section="results.subMenu/results" weight="50">
        <description key="sodPlanDetails.desc">Provides details of the Sauce OnDemand results</description>
        <label key="Sauce Jobs"/>
        <link linkId="saucePlanDetails">/build/result/viewSauceOnDemandResult.action?buildKey=${buildKey}&amp;buildNumber=${buildNumber}</link>
        <condition class="com.saucelabs.bamboo.sod.plan.ViewSODCondition">

        </condition>
    </web-item>

    <!--<component-import key="buildLoggerManager" interface="com.atlassian.bamboo.build.BuildLoggerManager"/>-->

    <bambooEventListener key="buildHungNotificationListener" name="Build Notification Listener"
                         class="com.saucelabs.bamboo.sod.listener.SauceBuildListener">
        <description>Listens for if a build has hung.</description>
    </bambooEventListener>
</atlassian-plugin>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy