ERROR: Failed to find configuration named in jenkins check the global configuration - jenkins-pipeline

When i build a pipeline in jenkins its gives the error (ERROR: Failed to find configuration named [nocadmin#192.168.101.87] check the global configuration
)

Related

TeamCity and Allure folders error while building

I constantly get an error on TeamCity caused by Allure folders.
If I run the build with:
gradlew clean test
I get the error:
Execution failed for task ':clean'. org.gradle.api.UncheckedIOException: java.io.IOException: Unable to delete directory 'D:\BuildAgent\work{BUILD_NUMBER}\build'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.- D:\BuildAgent\work{BUILD_NUMBER}\build\allure-results
and if I run the build with:
gradlew test
I get the error:
Execution failed for task ':test'. org.gradle.api.GradleException: Could not read path 'D:\BuildAgent\work{BUILD_NUMBER}\build\allure-results\history'.
How can I solve it?
Did you check the permission on the path? Also seeing issues on my side when running tests with gradle-wrapper. Do you use docker?

Reports not getting uploaded on SonarCloud after Analysis, Throws Project not found

I'm trying to setup SonarCloud on my Azure Pipelines. I have added sonar-project.properties file in the root of my repository which contains the below parameters:
sonar.projectKey=xxxx_xxxxxxxxx
sonar.organization=xxxxx
sonar.projectName=xxxxxxxxx
sonar.projectVersion=1.0
sonar.sources=.
sonar.sourceEncoding=UTF-8
I have added a service connection as well after generating a token from SonarCloud, I'm added as member in the organization.
While running the code analysis, it analyses the code, completes the analysis and then fails with an error below:
##[error]ERROR: Error during SonarScanner execution
ERROR: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
ERROR: Error during SonarScanner execution
ERROR: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator
ERROR:
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
Can someone please help me with how we can fix this ?

Unable to query for default vendor from RPM: Error while executing process. while running streamsets

I just followed the following tutorials for latest streamset 2.6.6 with flume as datacollector, https://github.com/streamsets/datacollector/blob/master/BUILD.md
At the time of making the build i have faced the following error:
[ERROR] Failed to execute goal
org.codehaus.mojo:rpm-maven-plugin:2.1.2:attached-rpm
(generate-sdc-streamsets-datacollector-aws-lib-rpm) on project
streamsets-datacollector-aws-lib: Unable to query for default vendor
from RPM: Error while executing process. Cannot run program "rpm":
error=2, No such file or directory -> [Help 1]

Unable to build wso2 kernel 4.0.6

When i am trying to build the wso2 kernel4.0.6, Build failed due to the f0llowing error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-
5:attached (2-dist) on project wso2carbon-core: Failed to create assembly: Error adding file to archive:
\distribution\kernel\4.0.0\..\..\..\core\org.wso2.carbon.core\4.0.0\target\Version.aar isn't a file. ->
As the file \core\org.wso2.carbon.core\4.0.0\target\Version.aar that maven is looking for isn't present, your build is failing.
You need to check out the code in https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/patch-releases/4.0.6/ location and build. Use that URL location if you haven't done so.

I get an IOException when building the Roofline Tool. Why?

I currently get the error below trying to run roofline. It would be nice if any of you could help me out getting this up and running in my new environment?
bravegag#bravegag-MacBookPro:/opt/roofline/tool$ ./gradlew
FAILURE: Build failed with an exception.
What went wrong:
Could not open task artifact state cache (/opt/roofline/tool/.gradle/1.0-milestone-8/taskArtifacts).
java.io.IOException: No such file or directory
BUILD FAILED
==> You have to have write access for the directory you are trying to build in.
You have to have write access for the directory you are trying to build in

Resources