Issue Type: Bug Bug
Assignee: yossis
Components: artifactory
Created: 01/Feb/13 8:21 PM
Description:

I have a job configured with Gradle-Artifactory Integration. If I modify the configuration of this job while a build is running the temporary --init-script argument that the plugin adds gets persisted in my configuration, which breaks subsequent builds because they get executed like this:

gradle --init-script /tmp/init-artifactory3964670982689206905gradle --init-script /tmp/init-artifactory7422301055349082489gradle clean compile artifactoryPublish

The build then fails with:

FAILURE: Build failed with an exception.

* Where:
Initialization script '/tmp/init-artifactory7422301055349082489gradle' line: 19

* What went wrong:
Failed to notify build listener.
> Failed to notify build listener.
   > Cannot cast object 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention@df9f4c3' with class 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention' to class 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention'

The easy work-around is to stop and disable the job before modifying its configuration or just remember to remove the extra arguments before you save your config modifications.

Project: Jenkins
Labels: plugin
Priority: Minor Minor
Reporter: Nathan Levesque
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to