Skip to content

Commit

Permalink
fix sh batch
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <[email protected]>
  • Loading branch information
olamy committed Jun 25, 2024
1 parent 17eb5be commit d673499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipeline {
// upstream(upstreamProjects: 'tck/tck-olamy-github-tck-run-module-glassfish') //, threshold: hudson.model.Result.SUCCESS)
// }
options {
buildDiscarder logRotator( numToKeepStr: '50' )
buildDiscarder logRotator( numToKeepStr: '30' )
}
parameters {

Expand Down Expand Up @@ -67,7 +67,7 @@ pipeline {
unstash 'apidocs'

script {
if($JAVADOC_PATH != 'jetty-12') {
if("$JAVADOC_PATH" != 'jetty-12') {
sh('''
echo need to update canonical because $JAVADOC_PATH
bash ./_update_canonical_links.sh $JAVADOC_PATH
Expand Down

0 comments on commit d673499

Please sign in to comment.