declarative pipeline and tools directive
AnsweredHow do we go about getting a new tool type defined for the tools directive? I have a version of gradle defined in Global Tool Configuration. However, when I try to use
tools {
gradle 'gradle32'
}
I get the error message below. Is this a Gradle plugin issue or a pipeline model plugin issue or something else?
Thanks
hudson.pluginsWorkflowScript: 4: Invalid tool type 'gradle'. Valid tool types: [ant, hudson.tasks.Ant$AntInstallation, org.jenkinsci.plugins.docker.commons.tools.DockerTool, git, hudson.plugins.git.GitTool, hudson.plugins.gradle.GradleInstallation, jdk, hudson.model.JDK, jgit, org.jenkinsci.plugins.gitclient.JGitTool, jgitapache, org.jenkinsci.plugins.gitclient.JGitApacheTool, maven, hudson.tasks.Maven$MavenInstallation, hudson.plugins.sonar.SonarRunnerInstallation, hudson.plugins.sonar.MsBuildSQRunnerInstallation]
-
I just updated my plugins and see that "gradle" is now supported as a tool. Thanks.
1
Please sign in to leave a comment.
Comments
1 comment