M
Случайно кто-то знает способ вычитать ямл в дженкинсе, поменять его, записать и не потерять комменты кроме как писать свою функцию?
¯\_(ツ)_/¯
Size: a a a
M
HC
def call(String APPLICATION_NAME ) {
def valuesYaml = readYaml(file: "${APPLICATION_NAME}/values.yaml")
return valuesYaml;
}
Г
HC
Г
Г
HC
VS
P
P
b6d9ea7717c20f2290941691553e1e38698ff53ad2081fba3408ceeaa8e049e9 /var/lib/jenkins/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/allure/bin/allure generate -c -o /var/lib/jenkins/workspace/DEV_Account_Balance/allure-report
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"/var/lib/jenkins/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/allure/bin/allure\": stat /var/lib/jenkins/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/allure/bin/allure: no such file or directory": unknown
[Pipeline] }
[Pipeline] // withEnv
Error when executing always post condition:
ru.yandex.qatools.allure.jenkins.exception.AllurePluginException: Can not generate Allure Report, exit code: 126
at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.generateReport(AllureReportPublisher.java:314)
at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.perform(AllureReportPublisher.java:231)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
I
I
stage('API check') {
steps {
timeout(time: 5, unit: 'MINUTES') {
sh """mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn clean test -Dsurefire.suiteXmlFiles=ServiceTest.xml || true"""
}
}
post {
always {
script {
allure([
includeProperties: false,
jdk: '',
properties: [],
reportBuildPolicy: 'ALWAYS',
results: [[path: 'path/allure-results/']]
])
}
}
}
}
I
P
RUN wget https://github.com/allure-framework/allure-core/releases/download/allure-core-1.4.24.RC2/allure-commandline.zip && \
unzip allure-commandline.zip && bin/allure && rm allure-commandline.zip
P
I
P
Н
Н
I