Skip to content

Commit

Permalink
[zorg][lldb-statistics] Correct LNT submission directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael137 committed Oct 28, 2024
1 parent 81e1b60 commit 1904664
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion zorg/jenkins/jobs/jobs/lldb-statistics
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,15 @@ pipeline {
}

stage('Submit statistics to LNT') {
environment {
HOST_BUILD_DIR="$WORKSPACE/host-compiler"
HISTORIC_BUILD_DIR="$WORKSPACE/clang-19-build"
}
steps {
sh '''
source ./venv/bin/activate
cd src/clang-13
cd src/clang-19
git tag -a -m "First Commit" first_commit 97724f18c79c7cc81ced24239eb5e883bf1398ef || true
git_desc=$(git describe --match "first_commit")
Expand Down
4 changes: 2 additions & 2 deletions zorg/jenkins/jobs/util/submit-lldb-statistics-to-lnt.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import sys

# Note there are fewer git commits in the monorepo than there were svn revisions.
#LLVM_REV=os.environ["GIT_DISTANCE"]
#JOB_NAME=f'{os.environ["NODE_NAME"]}_{os.environ["JOB_NAME"]}'
LLVM_REV=os.environ["GIT_DISTANCE"]
JOB_NAME=f'{os.environ["NODE_NAME"]}_{os.environ["JOB_NAME"]}'

if len(sys.argv) != 2:
print("Usage: submit-lldb-statistics-to-lnt.py <path/to/stats/directory>")
Expand Down

0 comments on commit 1904664

Please sign in to comment.