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"; }