print current git commit info on checkout and while applying patch
This commit is contained in:
parent
36b87f3496
commit
bf98f92a3d
2 changed files with 4 additions and 4 deletions
6
Jenkins/Phabricator-pipeline/Jenkinsfile
vendored
6
Jenkins/Phabricator-pipeline/Jenkinsfile
vendored
|
@ -46,16 +46,14 @@ pipeline {
|
|||
currentBuild.displayName += " D${drev_id}"
|
||||
currentBuild.description = "<a href='https://reviews.llvm.org/D${drev_id}'>D${drev_id}</a>"
|
||||
}
|
||||
// Report versions of the installed packages.
|
||||
sh 'dpkg -l'
|
||||
sh 'clang --version'
|
||||
sh 'python --version'
|
||||
sh 'dpkg -l' // Report versions of the installed packages.
|
||||
}
|
||||
}
|
||||
stage("git checkout"){
|
||||
steps {
|
||||
git url: 'https://github.com/llvm/llvm-project.git'
|
||||
sh 'git clean -fdx'
|
||||
sh 'git show -s'
|
||||
sh 'mkdir -p llvm-premerge-checks'
|
||||
dir("llvm-premerge-checks")
|
||||
{
|
||||
|
|
|
@ -87,6 +87,8 @@ class ApplyPatch:
|
|||
'master branch instead...'.format(self.git_hash)]
|
||||
subprocess.check_call('git checkout master', stdout=sys.stdout,
|
||||
stderr=sys.stderr, shell=True)
|
||||
subprocess.check_call('git show -s', stdout=sys.stdout,
|
||||
stderr=sys.stderr, shell=True)
|
||||
print('git checkout completed.')
|
||||
|
||||
def _apply_patch(self):
|
||||
|
|
Loading…
Reference in a new issue