1
0
mirror of https://github.com/silverbulleters/vanessa-usher.git synced 2026-06-21 01:29:42 +02:00

build: лицензия в хедере

This commit is contained in:
Tymko Oleg
2021-08-10 12:42:23 +07:00
parent 360a8d2ffd
commit cf3e7728cb
45 changed files with 276 additions and 0 deletions
+14
View File
@@ -8,6 +8,7 @@ plugins {
groovy
id("com.mkobit.jenkins.pipelines.shared-library") version "0.10.1"
id("com.github.ben-manes.versions") version "0.21.0"
id("net.kyori.indra.license-header") version "2.0.6"
}
dependencies {
@@ -66,4 +67,17 @@ sharedLibrary {
dependency("org.jenkinsci.plugins", "pipeline-model-definition", declarativePluginsVersion)
dependency("org.jenkinsci.plugins", "pipeline-model-extensions", declarativePluginsVersion)
}
}
license {
header(rootProject.file("/license/header.txt"))
ext["title"] = "Vanessa-Usher"
ext["years"] = "2019-2021"
ext["owner"] = "SilverBulleters, LLC"
exclude("**/*.properties")
exclude("**/*.xml")
exclude("**/*.json")
exclude("**/*.txt")
exclude("**/*.java.orig")
exclude("**/*.impl")
}
+4
View File
@@ -0,0 +1,4 @@
${title}
Copyright (C) ${years} ${owner} - All Rights Reserved.
Unauthorized copying of this file in any way is strictly prohibited.
Proprietary and confidential.
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher;
class UsherConstant {
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config
import com.cloudbees.groovy.cps.NonCPS
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config
import com.cloudbees.groovy.cps.NonCPS
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.additional
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.additional
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.stage
import com.fasterxml.jackson.annotation.JsonIgnore
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.stage
class BddOptional extends BaseOptional {
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.stage
class BuildOptional extends BaseOptional {
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.stage
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.stage
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.stage
class SmokeOptional extends BaseOptional {
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.stage
/**
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.stage
class SyntaxCheckOptional extends BaseOptional {
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.config.stage
class TddOptional extends BaseOptional {
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.ioc
/**
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.ioc
class DefaultContext implements IContext, Serializable {
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.ioc
interface IContext {
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.ioc
interface IStepExecutor {
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.ioc
import org.jenkinsci.plugins.workflow.cps.EnvActionImpl
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.util
import org.silverbulleters.usher.UsherConstant
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.util
import com.fasterxml.jackson.databind.ObjectMapper
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
package org.silverbulleters.usher.util
import com.fasterxml.jackson.databind.ObjectMapper
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import com.mkobit.jenkins.pipelines.codegen.LocalLibraryRetriever
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition
import org.jenkinsci.plugins.workflow.job.WorkflowJob
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import org.junit.jupiter.api.Test
import org.silverbulleters.usher.util.Common
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import org.junit.jupiter.api.Test
import org.silverbulleters.usher.config.ConfigurationReader
import org.silverbulleters.usher.config.Stages
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
public void createAllureCategories(String title, String allurePath) {
// нужен плагин https://plugins.jenkins.io/pipeline-utility-steps/
def categories = [['name': title]]
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.stage.BddOptional
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.stage.BuildOptional
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
/**
* Функция исполнения команд. Установка локализации при использовании MS Windows
* Пример вызова: cmdRun.Выполнить("dir /w")
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
String getAuthString() {
def credential = "--db-user ${USERNAME}"
try {
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.ConfigurationReader
import org.silverbulleters.usher.ioc.ContextRegistry
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.stage.GitsyncOptional
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.additional.InfoBase
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.additional.InfoBase
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.stage.PrepareBaseOptional
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.stage.SmokeOptional
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.stage.SonarQubeOptional
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.util.Common
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.additional.InfoBase
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import groovy.transform.Field
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.stage.SmokeOptional
+6
View File
@@ -1,3 +1,9 @@
/*
* Vanessa-Usher
* Copyright (C) 2019-2021 SilverBulleters, LLC - All Rights Reserved.
* Unauthorized copying of this file in any way is strictly prohibited.
* Proprietary and confidential.
*/
import org.silverbulleters.usher.config.PipelineConfiguration
import org.silverbulleters.usher.config.stage.BddOptional
import org.silverbulleters.usher.config.stage.PrepareBaseOptional