Update Jenkinsfile

Remove when()
pull/3/head
Hammy 3 years ago
parent 6faf748377
commit fb73bd1b7e

14
Jenkinsfile vendored

@ -44,20 +44,6 @@ pipeline {
jarWithSourcesArtifact = filesByGlob[1].path;
jarArtifact = filesByGlob[2].path;
when {
allOf {
expression {
return fileExists(javadocsArtifact)
}
expression {
return fileExists(jarWithSourcesArtifact)
}
expression {
return fileExists(jarArtifact)
}
}
}
if (fileExists(javadocsArtifact) && fileExists(jarWithSourcesArtifact) && fileExists(jarArtifact)) {
echo "*** File: ${javadocsArtifact}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}";
echo "*** File: ${jarWithSourcesArtifact}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}";

Loading…
Cancel
Save