Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
API_CALL_EXCEPTION |
"Could not send the LeanIX-data to the API successfully. An exception occurred." |
public static final String |
API_CALL_FAILED |
"Could not send the LeanIX-data successfully. The API responded with an error. Please check your host name." |
public static final String |
CONFIGFILENOTFOUND |
"The configuration file for the LeanIX Plugin could not be found." |
public static final String |
DEPENDENCIES_NOT_GENERATED |
"The dependencies of your project couldn\'t be generated." |
public static final String |
DEPENDENCY_MANAGER_NOT_SET |
"The dependencies of your project couldn\'t be generated. The dependency manager doesn\'t seem to be set correctly. Please check your settings." |
public static final String |
MANIFEST_NOTFOUND |
"The manifest file could not be found in your Source Code Management System, please check that the path you specified is correct." |
public static final String |
MANIFEST_WRONG |
"The manifest file could not be parsed, please check that it is correct." |
public static final String |
SCM_FAILED |
"Could not send the LeanIX-data, because the SCM could not be accessed correctly." |
public static final String |
STAGE_NOTSET |
"Deployment stage variable value is not set in jenkins environment." |
public static final String |
SUCCESS |
"Success: The LeanIX-data was transmitted successfully." |
public static final String |
TOKEN_FAILED |
"Could not send the LeanIX-data, because the Authentication failed. Please check your Hostname and API-Token." |
public static final String |
VERSION_NOTSET |
"Deployment version variable or deployment version value is not set in jenkins environment." |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
defaultLXManifestPath |
"/lx-manifest.yml" |
public static final boolean |
defaultUseLeanIXConnector |
true |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
gradleInitScript |
"initscript {\n repositories {\n maven {\n url \'https://plugins.gradle.org/m2/\'\n }\n }\n\n dependencies {\n classpath \'com.github.jk1:gradle-license-report:1.16\'\n }\n}\n\nimport com.github.jk1.license.render.*\n\nallprojects {\n rootProject.allprojects {\n apply plugin: \'java\'\n apply plugin: com.github.jk1.license.LicenseReportPlugin\n licenseReport {\n // Set custom report renderer, implementing ReportRenderer.\n // Yes, you can write your own to support any format necessary.\n renderers = [new JsonReportRenderer(\'licenses.json\')]\n }\n }\n}" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
defaultPipelineConfigJSON |
"{\n \"leanIXConfigurations\": {\n \"deploymentStageVarName\": \"stage\",\n \"deploymentVersionVarName\": \"version\",\n \"settings\": [\n {\n \"pipelines\": [\n \"pipeline1\",\n \"pipeline2\"\n ],\n \"path\": \"/other/lx-manifest.yml\"\n },\n {\n \"pipelines\": [\n \"pipeline3\"\n ],\n \"path\": \"/lx-manifest.yml\"\n }\n ]\n }\n}" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
batchScriptWin |
"set pathToDependencyDir=%1\nset packageManager=%2\nset gradleInitFileOrMavenSettingsFile=%3%\nif %packageManager%==NPM (\ncd %pathToDependencyDir%\nnpm install -g license-checker\nnpm install\nlicense-checker --json > %pathToDependencyDir%/dependencies.json\n)\nif %packageManager%==MAVEN (\ncd %pathToDependencyDir%\nif %gradleInitFileOrMavenSettingsFile%!=\"\" ( mvn -s %gradleInitFileOrMavenSettingsFile% org.codehaus.mojo:license-maven-plugin:download-licenses ) \nelse ( mvn org.codehaus.mojo:license-maven-plugin:download-licenses ) \n)\nif %packageManager%==GRADLE (\ncd %pathToDependencyDir%\ngradle generateLicenseReport -I %gradleInitFileOrMavenSettingsFile%\n)" |
public static final String |
shellScript |
"#!/bin/bash\nexport pathToDependencyDir=$1;\nexport packageManager=$2;\nexport gradleInitFileOrMavenSettingsFile=$3;\n\ncase $packageManager in\n \'NPM\')\n cd $pathToDependencyDir;\n npm install -g license-checker;\n npm install;\n license-checker --json > $pathToDependencyDir/dependencies.json;\n ;;\n \'MAVEN\')\n cd $pathToDependencyDir;\n if [[ $gradleInitFileOrMavenSettingsFile != \"\" ]]; then\n mvn -s $gradleInitFileOrMavenSettingsFile org.codehaus.mojo:license-maven-plugin:download-licenses;\n else\n mvn org.codehaus.mojo:license-maven-plugin:download-licenses;\n fi\n ;;\n \'GRADLE\')\n cd $pathToDependencyDir;\n gradle generateLicenseReport -I gradleInitFileOrMavenSettingsFile;\n ;;\nesac" |
Copyright © 2016–2022. All rights reserved.