第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

為什么 .settings 文件丟失

為什么 .settings 文件丟失

滄海一幻覺(jué) 2023-09-06 14:52:01
我無(wú)法在 Maven 中構(gòu)建存儲(chǔ)。設(shè)置文件丟失。jenkinsfile中有這樣的代碼。如果它不在存儲(chǔ)庫(kù)本身中,它如何引用?幫助我理解    stages {        stage("Copying credentials files") {            steps {                withCredentials([file(credentialsId: 'settings.xml', variable: 'SETTINGS'), file(credentialsId: 'settings-security.xml', variable: 'SETTINGS_SECURITY')]) {                    bat '''COPY %SETTINGS% %WORKSPACE%'''                    bat '''COPY %SETTINGS_SECURITY% %WORKSPACE%'''                }            }        }        stage("Test") {            steps {                script {                    try {                        bat "mvn clean install -s settings.xml -Dsettings.security=settings-security.xml -DTagConfigFile=${configFile} -DTAGS=${tags}"                    } catch (err) {                        currentBuild.result = 'FAILURE'                        throw err                    } finally {                        stage("Allure report") {                            allure([                                    commandline      : '2.8.0',                                    includeProperties: false,                                    jdk              : '',                                    properties       : [],                                    reportBuildPolicy: 'ALWAYS',                                    report           : 'target/allure-report',                                    results          : [[path: 'target/allure-results']]                            ])                        }                    }                }            }        }    }}
查看完整描述

1 回答

?
長(zhǎng)風(fēng)秋雁

TA貢獻(xiàn)1757條經(jīng)驗(yàn) 獲得超7個(gè)贊

jenkinsfile 與此無(wú)關(guān)。原來(lái),settings.xml被另一個(gè)程序員錯(cuò)誤地從項(xiàng)目中刪除了。添加就解決了問(wèn)題



查看完整回答
反對(duì) 回復(fù) 2023-09-06
  • 1 回答
  • 0 關(guān)注
  • 98 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)