1
0
Fork 0

create build directory after applying patch

This commit is contained in:
Mikhail Goncharov 2020-02-05 15:34:12 +01:00
parent d4de1f60d5
commit 0a636404c6

View file

@ -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"
}
}