Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 338 Bytes

jenkinsfile.md

File metadata and controls

13 lines (12 loc) · 338 Bytes

使用预定义密钥构建

stage('build java8-centos-office...') {
    steps {
        withCredentials([usernamePassword(passwordVariable : 'DOCKER_PASSWORD' ,usernameVariable : 'DOCKER_USERNAME' ,credentialsId : "$DOCKER_CREDENTIAL_ID" ,)]) {
            sh '''
                make all
            '''
        }
    }
}