Плз найди мой код
node {
// Get Artifactory server instance, defined in the Artifactory Plugin administration page.
def server = Artifactory.server "Artifactory"
// Create an Artifactory Maven instance.
def rtMaven = Artifactory.newMavenBuild()
def buildInfo
stage('Clone sources') {
git url: 'https://github.com/jfrogdev/project-examples.git'
}
stage('Artifactory configuration') {
// Tool name from Jenkins configuration
rtMaven.tool = "Maven"
// Set Artifactory repositories for dependencies resolution and artifacts deployment.
rtMaven.deployer releaseRepo: 'libs-release-local', snapshotRepo: 'libs-release-local', server: server
rtMaven.resolver releaseRepo: 'libs-release', snapshotRepo: 'libs-release', server: server
}
stage('Maven build') {
buildInfo = rtMaven.run pom: 'maven-example/pom.xml', goals: 'clean package'
}
stage('Publish build info') {
server.publishBuildInfo buildInfo
}
}
Я использую официальный образец на сайте артефакта https://github.com/jfrog/project-examples/blob/master/jenkins-examples/pipeline-examples/scripted-examples/maven-example/Jenkinsfile
Вывод на консоль задания введите описание изображения здесь
Невозможно выйти за пределы "[Pipeline] artifactoryMavenBuild (hide)"
Plz, помогите мне здесь ...
Я могу интегрировать maven, артефакт в простой элемент проекта Maven, ноне в элементе конвейера на Дженкинс ....