Giter Club home page Giter Club logo

mission-control-config-scripts's Introduction

Collection of Configuration Scripts for JFrog Mission Control

Mission control embraces the configuration as code approach for configuring Artifactory instances. By using a Groovy based domain specific language (DSL), you can define scripts that describe elements of Artifactory configuration such as repositories, replication, property sets, LDAP settings and more.

Those scripts are reusable pieces of code developed using the Mission control DSL which can be applied to one or more Artifactory instances in order to perform configuration actions. These can range from simple configurations such as setting a new caching policy for a set of remote repositories to more complex ones like creating a combination of local and remote repositories in a master-slave topology.

mission-control-config-scripts's People

Contributors

jainishshah17 avatar jbaruch avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mission-control-config-scripts's Issues

how to create more than one repository in one script

Hi,
is it possible to create more than one repository in one script? I'd like to create two repositories in one script like this:

project = userInput (
    type: "STRING",
    description : "please provide a project name"
  )

localRepository(project + "-maven-snapshot") {
    description "Maven snapshotrepository for project " + project
    notes "Some internal notes"
    repoLayoutRef "maven-2-default"
    packageType "maven"
    handleReleases false
    handleSnapshots true // default
    maxUniqueSnapshots  10 // 10 Snapshotversion will be stored
    snapshotVersionBehavior "non-unique" 
    blackedOut false
    archiveBrowsingEnabled true
  }

localRepository(project + "-maven-release") {
    description "Maven releaserepository for project " + project
    notes "Some internal notes"
    repoLayoutRef "maven-2-default"
    packageType "maven"
    checksumPolicyType "client-checksums" 
    handleReleases true
    handleSnapshots false
    maxUniqueSnapshots  0 
    snapshotVersionBehavior "unique" 
    suppressPomConsistencyChecks false 
    blackedOut false 
    archiveBrowsingEnabled true
}

Expected: two repositories are created
Result: only the *-maven-release will be created

  • Mission Control: v1.8
  • Artifactory Enterprise 4.16.0 rev 40364

Best Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.