You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error using build-info-extractor-gradle:4.2.+. Although I have verified that I set contextUrl correctly.
As you can see below, I have set contextUrl at base level and at Pubisher level as well. I can see URL being printed out within Publisher configuration but the error persists regardless. I read that someone got around by disabling Gradle Daemon but it didn't help me.
I'm running this on OSX 10.11.3. Using Gradle Wrapper 2.10. Trying to deploy a sample aar lib to Artifactory version 4.7.1 rev 40159 running on the same laptop.
Here's the stacktrace.
Caused by: java.lang.IllegalStateException: Context URL cannot be empty
at org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration.getContextUrl(ArtifactoryClientConfiguration.java:146)
at org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration$PublisherHandler.getContextUrl(ArtifactoryClientConfiguration.java:312)
at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.prepareAndDeploy(BuildInfoBaseTask.java:349)
at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.collectProjectBuildInfo(BuildInfoBaseTask.java:129)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 60 more
The text was updated successfully, but these errors were encountered:
@RobGThai, I was trying to reproduce this error, but this doesn't happen for me. To troubleshoot the issue, can you please try running the gradle-examples?
@eyalbe4 , Just tried gradle-android-aar example it works fine. However, the current version of buildtool and the example is very different. So I'm trying to upgrade the example and learn what make or break my config.
I'm getting this error using
build-info-extractor-gradle:4.2.+
. Although I have verified that I set contextUrl correctly.As you can see below, I have set contextUrl at base level and at Pubisher level as well. I can see URL being printed out within Publisher configuration but the error persists regardless. I read that someone got around by disabling Gradle Daemon but it didn't help me.
I'm running this on
OSX 10.11.3
. UsingGradle Wrapper 2.10
. Trying to deploy a sampleaar
lib to Artifactory version4.7.1 rev 40159
running on the same laptop.Here's the stacktrace.
The text was updated successfully, but these errors were encountered: