You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Jenkinsfile
+18-14Lines changed: 18 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ pipeline {
14
14
15
15
stage('Add git safe directory'){
16
16
steps{
17
-
sh 'git config --global user.name "jenkinsci"'
18
-
sh 'git config --global user.email "$(whoami)@$(hostname)"'
17
+
// sh 'git config --global user.name "jenkinsci"'
18
+
// sh 'git config --global user.email "$(whoami)@$(hostname)"'
19
19
sh 'git config --global --add safe.directory /var/lib/jenkins/workspace/NTP_$GIT_BRANCH'
20
20
sh 'git config --global --add safe.directory /home/jenkinsci/workspace/NTP_$GIT_BRANCH'
21
21
}
@@ -55,17 +55,17 @@ pipeline {
55
55
parallel {
56
56
stage('En TN grammars') {
57
57
steps {
58
-
sh 'CUDA_VISIBLE_DEVICES="" python NTP_text_processing/text_normalization/normalize.py --text="1" --cache_dir /home/jenkinsci/nlp/text_norm/ci/grammars/11-16-22'
58
+
sh 'CUDA_VISIBLE_DEVICES="" python nemo_text_processing/text_normalization/normalize.py --text="1" --cache_dir /home/jenkinsci/TestData/text_norm/ci/grammars/01-30-23'
59
59
}
60
60
}
61
61
stage('En ITN grammars') {
62
62
steps {
63
-
sh 'CUDA_VISIBLE_DEVICES="" python NTP_text_processing/inverse_text_normalization/inverse_normalize.py --language en --text="twenty" --cache_dir /home/jenkinsci/nlp/text_norm/ci/grammars/11-16-22'
63
+
sh 'CUDA_VISIBLE_DEVICES="" python nemo_text_processing/inverse_text_normalization/inverse_normalize.py --language en --text="twenty" --cache_dir /home/jenkinsci/TestData/text_norm/ci/grammars/01-30-23'
64
64
}
65
65
}
66
66
stage('Test En non-deterministic TN & Run all En TN/ITN tests (restore grammars from cache)') {
67
67
steps {
68
-
sh 'CUDA_VISIBLE_DEVICES="" pytest tests/NTP_text_processing/en/ -m "not pleasefixme" --cpu --tn_cache_dir /home/jenkinsci/nlp/text_norm/ci/grammars/11-16-22'
68
+
sh 'CUDA_VISIBLE_DEVICES="" pytest tests/nemo_text_processing/en/ -m "not pleasefixme" --cpu --tn_cache_dir /home/jenkinsci/TestData/text_norm/ci/grammars/01-30-23'
69
69
}
70
70
}
71
71
@@ -83,20 +83,24 @@ pipeline {
83
83
parallel {
84
84
stage('L2: Eng TN') {
85
85
steps {
86
-
sh 'cd tools/text_processing_deployment && python pynini_export.py --output=/home/jenkinsci/nlp/text_norm/output/ --grammars=tn_grammars --cache_dir /home/jenkinsci/nlp/text_norm/ci/grammars/11-16-22 --language=en && ls -R /home/jenkinsci/nlp/text_norm/output/ && echo ".far files created "|| exit 1'
0 commit comments