Exemplo n.º 1
0
    beforeEach(() => {
      const materials = new Materials();
      material        = materials.createMaterial({
        type:       'dependency',
        name:       'dependencyMaterial',
        pipeline:   'pipeline1',
        stage:      'stage1',
        autoUpdate: true
      });

      mount(materials);
      viewMaterial();
    });
Exemplo n.º 2
0
    beforeEach(() => {
      const materials = new Materials();
      material        = materials.createMaterial({
        type:        'hg',
        url:         "http://hg.example.com/hg/myProject",
        destination: "projectA",
        name:        "hg-repo",
        autoUpdate:  true,
        filter:      new Materials.Filter({ignore: ['*.doc']})
      });

      mount(materials);
      viewMaterial();
    });
Exemplo n.º 3
0
    beforeEach(() => {
      const materials = new Materials();
      material        = materials.createMaterial({
        type:         'git',
        url:          "http://git.example.com/git/myProject",
        branch:       "release-1.2",
        destination:  "projectA",
        name:         "git-repo",
        autoUpdate:   false,
        filter:       new Materials.Filter({ignore: ['*.doc']}),
        shallowClone: true
      });

      mount(materials);
      viewMaterial();
    });
Exemplo n.º 4
0
    beforeEach(() => {
      const materials = new Materials();
      material        = materials.createMaterial({
        type:           'svn',
        url:            "http://svn.example.com/svn/myProject",
        username:       "******",
        password:       "******",
        checkExternals: true,
        destination:    "projectA",
        name:           "svn-repo",
        autoUpdate:     true,
        filter:         new Materials.Filter({ignore: ['*.doc']}),
        invertFilter:   true
      });

      mount(materials);
      viewMaterial();
    });
Exemplo n.º 5
0
    beforeEach(() => {
      const materials = new Materials();
      material        = materials.createMaterial({
        type:         'tfs',
        url:          "http://tfs.example.com/tfs/projectA",
        username:     "******",
        password:     "******",
        domain:       'AcmeCorp',
        destination:  "projectA",
        projectPath:  "$/webApp",
        name:         "tfs-repo",
        autoUpdate:   true,
        filter:       new Materials.Filter({ignore: ['*.doc']}),
        invertFilter: true
      });

      mount(materials);
      viewMaterial();
    });
Exemplo n.º 6
0
    beforeEach(() => {
      const materials = new Materials();
      material        = materials.createMaterial({
        type:         'p4',
        port:         "p4.example.com:1666",
        username:     "******",
        password:     "******",
        useTickets:   true,
        destination:  "projectA",
        view:         "//depot/dev/source...          //anything/source/",
        name:         "perforce-repo",
        autoUpdate:   true,
        filter:       new Materials.Filter({ignore: ['*.doc']}),
        invertFilter: true
      });

      mount(materials);
      viewMaterial();
    });
Exemplo n.º 7
0
  beforeEach(() => {
    materials = new Materials();

    gitMaterial = materials.createMaterial({
      type:         'git',
      url:          "http://git.example.com/git/myProject",
      branch:       "release-1.2",
      destination:  "projectA",
      name:         "git-repo",
      autoUpdate:   true,
      filter:       new Materials.Filter({ignore: ['*.doc']}),
      invertFilter: true,
      shallowClone: true
    });

    svnMaterial = materials.createMaterial({
      type:           'svn',
      url:            "http://svn.example.com/svn/myProject",
      username:       "******",
      password:       "******",
      checkExternals: true,
      destination:    "projectA",
      name:           "svn-repo",
      autoUpdate:     true,
      filter:         new Materials.Filter({ignore: ['*.doc']}),
      invertFilter:   true
    });

    mercurialMaterial = materials.createMaterial({
      type:         'hg',
      url:          "http://hg.example.com/hg/myProject",
      branch:       "release-1.2",
      destination:  "projectA",
      name:         "hg-repo",
      autoUpdate:   true,
      filter:       new Materials.Filter({ignore: ['*.doc']}),
      invertFilter: true
    });

    perforceMaterial = materials.createMaterial({
      type:         'p4',
      port:         "p4.example.com:1666",
      username:     "******",
      password:     "******",
      useTickets:   true,
      destination:  "projectA",
      view:         "//depot/dev/source...          //anything/source/",
      name:         "perforce-repo",
      autoUpdate:   true,
      filter:       new Materials.Filter({ignore: ['*.doc']}),
      invertFilter: true
    });

    tfsMaterial = materials.createMaterial({
      type:         'tfs',
      url:          "http://tfs.example.com/tfs/projectA",
      username:     "******",
      password:     "******",
      domain:       'AcmeCorp',
      destination:  "projectA",
      projectPath:  "$/webApp",
      name:         "tfs-repo",
      autoUpdate:   true,
      filter:       new Materials.Filter({ignore: ['*.doc']}),
      invertFilter: true
    });

    dependencyMaterial = materials.createMaterial({
      type:       "dependency",
      pipeline:   "p1",
      stage:      "first_stage",
      name:       "p1_first_stage",
      autoUpdate: true
    });
  });