parrallel version

This commit is contained in:
Ruben Abad 2024-02-07 17:07:56 +01:00
parent 7d071d06b7
commit 2525e355af
1 changed files with 2 additions and 5 deletions

7
Jenkinsfile vendored
View File

@ -84,7 +84,7 @@ pipeline
steps steps
{ {
dir('${env.WORKSPACE}/doc_repo') dir('doc_repo')
{ {
checkout scmGit( checkout scmGit(
branches: [[name: '*/ruben/jenkins_migration']], branches: [[name: '*/ruben/jenkins_migration']],
@ -227,14 +227,11 @@ pipeline
when { branch "ruben/jenkins_migration"; } when { branch "ruben/jenkins_migration"; }
steps steps
{ {
dir('doc_repo')
dir("${env.WORKSPACE}/doc_repo")
{ {
unstash name: 'carla_docs' unstash name: 'carla_docs'
withCredentials([gitUsernamePassword(credentialsId: 'github_token_as_pwd_2', gitToolName: 'git-tool')]) { withCredentials([gitUsernamePassword(credentialsId: 'github_token_as_pwd_2', gitToolName: 'git-tool')]) {
sh ''' sh '''
pwd
ls -lh
tar -xvzf carla_doc.tar.gz tar -xvzf carla_doc.tar.gz
git add Doxygen git add Doxygen
git commit -m "Updated c++ docs" || true git commit -m "Updated c++ docs" || true