From a22da7136a1d2b8144313378f7b298100e1785e6 Mon Sep 17 00:00:00 2001 From: Ruben Abad Date: Tue, 30 Jan 2024 13:26:53 +0100 Subject: [PATCH] test only documentation steps --- Jenkinsfile | 52 +++++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f081b1130..b657d2113 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,6 +24,7 @@ pipeline } stages { + /* stage('ubuntu setup') { steps @@ -161,32 +162,33 @@ pipeline stash includes: 'carla_doc.tar.gz', name: 'carla_docs' } } - - stage('ubuntu Doxygen upload') - { - when { anyOf { branch "master"; branch "dev"; buildingTag() } } - steps - { - checkout scmGit(branches: [[name: '*/master']], extensions: [checkoutOption(120), cloneOption(noTags:false, reference:'', shallow: false, timeout:120)], userRemoteConfigs: [[credentialsId: 'github_token_as_pwd_2', url: 'https://github.com/carla-simulator/carla-simulator.github.io.git']]) - unstash name: 'carla_docs' + */ + + // stage('ubuntu Doxygen upload') + // { + // when { anyOf { branch "master"; branch "dev"; buildingTag() } } + // steps + // { + // checkout scmGit(branches: [[name: '*/master']], extensions: [checkoutOption(120), cloneOption(noTags:false, reference:'', shallow: false, timeout:120)], userRemoteConfigs: [[credentialsId: 'github_token_as_pwd_2', url: 'https://github.com/carla-simulator/carla-simulator.github.io.git']]) + // unstash name: 'carla_docs' - withCredentials([gitUsernamePassword(credentialsId: 'github_token_as_pwd_2', gitToolName: 'git-tool')]) { - sh ''' - tar -xvzf carla_doc.tar.gz - git add Doxygen - git commit -m "Updated c++ docs" || true - git push - ''' - } - } - post - { - always - { - deleteDir() - } - } - } + // withCredentials([gitUsernamePassword(credentialsId: 'github_token_as_pwd_2', gitToolName: 'git-tool')]) { + // sh ''' + // tar -xvzf carla_doc.tar.gz + // git add Doxygen + // git commit -m "Updated c++ docs" || true + // git push + // ''' + // } + // } + // post + // { + // always + // { + // deleteDir() + // } + // } + // } stage('TEST: ubuntu Doxygen generation') { when { branch "ruben/jenkins_migration"; }