Open rahulks993 opened 8 months ago
@yahavi Could you please help me here?
Hey @rahulks993, You're using a version that was released almost a year ago. Any possibility you could think about upgrading to the latest release and inform us if that resolves the issue?
@yahavi The most recent release of Artifactory is 4.0.0. Nevertheless, I'd appreciate your recommendation on which version I should proceed with. For instance, should I opt for version 3.18.1 or 3.18.3? I came across an issue that appears to have logs closely resembling my own situation.
@rahulks993 The problem raised in https://github.com/jfrog/jenkins-artifactory-plugin/issues/734 got resolved through https://github.com/jfrog/build-info/pull/714 in version 3.18.4.
If there are Gradle jobs in your Jenkins instance utilizing Gradle versions below 6.8.1, you have the option to upgrade to the latest v3 version, 3.18.12. Otherwise, consider upgrading to the latest major, 4.0.0.
By the way, we've introduced a JFrog CLI-based JFrog plugin that can operate alongside the traditional Artifactory plugin. The JFrog CLI is among the favored tools in the community, and I suggest opting for it over the older Jenkins plugin.
@yahavi I'll try upgrading to 3.18.4 or 3.18.12 and I'll confirm you back whether the issue which we are facing is resolved or not. If it doesn't then I'll consider upgrading to 4.0.0 . However we are not having gradle jobs in our jenkins instance we are still using maven.
@yahavi Thanks for your recommendation, the issue is resolved now with 3.18.4. You may close this question now
Hello,
Our Jenkins build is currently encountering failures on multiple projects, and we're uncertain about the root cause of the issue. Previously, we used OpenJDK images for the builds, but since transitioning to Amazon Corretto, we've been experiencing NullPointerException errors while running on an EC2 Jenkins node. I'd like to provide the versions of Jenkins, Artifactory, Java, and Maven in hopes that someone can assist me in resolving this problem.
Jenkins Artifactory Plugin version: 3.18.0 Jenkins version: Jenkins 2.387.1 Java: amazoncorretto-8 JAVA_HOME=/usr/lib/jvm/java-1.8.0-amazon-corretto MAVEN_HOME=/usr/share/maven
Jenkins log:
It fails while running this piece of code: server = Artifactory.server 'Artifactory Pro' rtMaven = Artifactory.newMavenBuild() rtMaven.deployer releaseRepo: 'libs-release-local', snapshotRepo: 'libs-snapshot-local', server: server rtMaven.deployer.deployArtifacts = false buildInfo = Artifactory.newBuildInfo() rtMaven.run pom: 'pom.xml', goals: 'clean install -Dmaven.test.skip=true', buildInfo: buildInfo