Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

electric-cloud-community/EC-DslDeploy

 
 

Repository files navigation

EC-DslDeploy

Deployment of your DSL code structure to your server.

Summary

Plugin to deploy a full DSL code structure as shown below. The main advantage is to be able to push all the code as one unit to your server. In addition, it allows you to easily decompose the object structure (project, procedure, ...) from the execution code itself in your steps. This will ease code writing without the need to escape dollar signs, quotes, ... and to use syntax highlight in your favorite editor.

Structure

The file structure is explained in detail in the Wiki

Usage

  1. Create an artifact of your code structure (see sample/createArtifactVersion.sh for an example)
  2. Run the procedure installDsl and pass the artifact name and version

MVP:

  1. work on cluster
  2. work on local workspace

Dev Process

  1. Generate and upload an artifact of the DSL Code (will provide script later on)

DSL Installation

Parameters

  1. Artifact Name
  2. Artifact Version
  3. "local" pool (to reflect server resources)
  4. "broadcast" required if cluster and local workspace so artifact is retrieved on all resources
  5. workspace??
  6. Repo ??

Steps

  1. retrieve artifact on "local
  2. run equivalent of PW promote.groovy

About

The plugin has been made CloudBees supported

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Groovy 95.8%
  • Perl 2.4%
  • Raku 1.2%
  • Other 0.6%