create build directory after applying patch
This commit is contained in:
parent
d4de1f60d5
commit
0a636404c6
1 changed files with 3 additions and 7 deletions
10
Jenkins/Phabricator-pipeline/Jenkinsfile
vendored
10
Jenkins/Phabricator-pipeline/Jenkinsfile
vendored
|
@ -49,11 +49,8 @@ pipeline {
|
|||
// Report versions of the installed packages.
|
||||
sh '''
|
||||
echo Versions of various tools:
|
||||
echo clang --version
|
||||
clang --version
|
||||
echo clang-tidy --version
|
||||
clang-tidy --version
|
||||
echo ld.lld --version
|
||||
ld.lld --version
|
||||
dpkg -l
|
||||
'''
|
||||
|
@ -71,19 +68,18 @@ pipeline {
|
|||
{
|
||||
git url: 'https://github.com/google/llvm-premerge-checks.git'
|
||||
}
|
||||
sh 'rm -rf build || true'
|
||||
sh 'mkdir -p build'
|
||||
sh 'mkdir -p "${TARGET_DIR}"'
|
||||
}
|
||||
}
|
||||
stage('arc patch'){
|
||||
steps {
|
||||
// sh "python3 ${SCRIPT_DIR}/phabtalk/apply_patch.py --comment-file ${PHAB_LOG}"
|
||||
sh "${SCRIPT_DIR}/phabtalk/apply_patch2.py ${DIFF_ID} --token ${CONDUIT_TOKEN} --url ${PHABRICATOR_HOST} --comment-file ${PHAB_LOG}"
|
||||
}
|
||||
}
|
||||
stage('CMake') {
|
||||
steps {
|
||||
sh 'rm -rf build || true'
|
||||
sh 'mkdir -p build'
|
||||
sh 'mkdir -p "${TARGET_DIR}"'
|
||||
sh "${SCRIPT_DIR}/run_cmake.sh"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue