Skip to content

Latest commit

 

History

History
33 lines (31 loc) · 1.11 KB

Jenkinsfile-build-docs.tuleap.org

File metadata and controls

33 lines (31 loc) · 1.11 KB

pipeline { agent { label ‘docker’ }

stages { stage(‘Checkout’) { steps { checkout scm } } stage(‘Build and publish image’) { steps { script { @Library(‘tuleap-jenkinsfile-library@master’) _ def lib_signing = new org.tuleap.Signing(); lib_signing.prefetchToolsToSignDockerImages(‘ci-write’); def image_name = ‘tuleap-documentation.docs.tuleap.org’; def image = docker.build( image_name, ‘-f docs.tuleap.org/Dockerfile .’ ) def registry_name = “nexus.enalean.com:22000”; docker.withRegistry(“https://${registry_name}”, ‘ci-write’) { image.push()

lib_signing.signDockerImage(“${registry_name}/${image_name}”, env.VAULT, ‘tuleap-additional-tools-signing’, ‘vault-role-tuleap-additional-tools-signing’) } } } } } }