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.

Chinese Workday Plugin

chineseWorkdaySupportedYears: List supported Chinese workday calendar years

    isChineseHoliday: Check whether a date is a Chinese holiday in Pipeline

    • date : String (optional)
      Optional ISO date in yyyy-MM-dd format. Leave blank to use the current date in Asia/Shanghai.

    isChineseWorkday: Check whether a date is a Chinese workday in Pipeline

    • date : String (optional)
      Optional ISO date in yyyy-MM-dd format. Leave blank to use the current date in Asia/Shanghai.

    chineseWorkday: Chinese Workday Check

    • date : String (optional)
      Optional ISO date in yyyy-MM-dd format. Leave blank to use the current date in Asia/Shanghai.
    • failOnNonWorkday : boolean (optional)
      If checked, the build step fails when the resolved date is not a Chinese workday, so later Freestyle build steps do not run.

    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.