parrallel version
This commit is contained in:
parent
7d071d06b7
commit
2525e355af
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue