kotlin-dsl/HelmRollback.xml (28 lines of code) (raw):

<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2000 - 2017 JetBrains s.r.o. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"). ~ See LICENSE in the project root for license information. --> <dsl-extension kind="buildStep" type="jetbrains.helm" applicable="params['teamcity.helm.command'] == 'helm-rollback'" generateDslJar="true"> <class name="HelmRollbackStep"> <description> A [helm build step](https://github.com/JetBrains/teamcity-kubernetes-plugin) to run 'helm rollback' command </description> </class> <function name="helmRollback"> <description> Adds a [helm build step](https://github.com/JetBrains/teamcity-kubernetes-plugin) to run 'helm rollback' command @see HelmRollbackStep </description> </function> <init> <param name="command" value="helm-rollback"/> </init> <params> <param name="helm-rollbackteamcity.helm.releaseName" dslName="release"> <description>Release name to rolls back.</description> </param> <param name="helm-rollbackteamcity.helm.revision" dslName="revision"> <description>Previous release revision..</description> </param> <param name="helm-rollbackteamcity.helm.additionalFlags" dslName="additionalFlags"> <description>Additional options for 'helm rollback' command line.</description> </param> </params> </dsl-extension>