Skip to content

import of pipeline.yml didnt work #1

@namradi

Description

@namradi

My first pipeline try on openshift 3.3 and per your video 1 i tried to import your build config and it didnt seem to do anything. Did i do anything wrong?

`-bash-4.2$ oc get bc
NAME TYPE FROM LATEST
myfirstpipeline JenkinsPipeline 0
-bash-4.2$ oc describe bc myfirstpipeline
Name: myfirstpipeline
Namespace: developer-cicd
Created: 35 seconds ago
Labels: name=myfirstpipeline
Annotations: pipeline.alpha.openshift.io/uses=[{"name": "myphp", "namespace": "", "kind": "DeploymentConfig"}]
Latest Version: Never built

Strategy: JenkinsPipeline
Jenkinsfile contents:
node('maven') {
stage 'build'
openshiftBuild(buildConfig: 'myphp', showBuildLogs: 'true')
stage 'deploy'
openshiftDeploy(deploymentConfig: 'myphp')
openshiftScale(deploymentConfig: 'myphp',replicaCount: '2')
}
Empty Source: no input source provided

Build Run Policy: Serial
Triggered by:
Webhook GitHub:
URL: https://oseserver:8443/oapi/v1/namespaces/developer-cicd/buildconfigs/myfirstpipeline/webhooks/secret101/github
Webhook Generic:
URL: https://oseserver:8443/oapi/v1/namespaces/developer-cicd/buildconfigs/myfirstpipeline/webhooks/secret101/generic
AllowEnv: false`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions