Skip to content
This repository has been archived by the owner on Jan 30, 2022. It is now read-only.

Improve error output for oc not logged in #101

Open
DerekRoberts opened this issue Jul 14, 2021 · 0 comments
Open

Improve error output for oc not logged in #101

DerekRoberts opened this issue Jul 14, 2021 · 0 comments

Comments

@DerekRoberts
Copy link
Member

This error comes up when not logged into oc. Check login and point that out.

[IRS-irs-war]$ nrdk build --archetype=java-web-app --pr=0
Starting @bcgov/nrdk/0.1.0-rc.115 linux-x64 node-v14.17.0
...
info: Applying default value for deploy-script {"category":"OnJiraIssue","timestamp":"2021-07-14T15:27:28.036Z"}
--archetype=java-web-app --pr=0 --config-script=.pipeline/lib/config.js --git.remote.name=origin --dev-mode=false --rfc-validation=true --git.url=https://bwa.nrs.gov.bc.ca/int/stash/scm/IRS/irs-war.git --git.remote.url=https://bwa.nrs.gov.bc.ca/int/stash/scm/IRS/irs-war.git --git.branch.name=feature/IRS-520 --git.branch.merge=feature/IRS-520 --git.change.target=feature/IRS-520 --build-script=/home/derek/Repos/nrdk/src/archetypes/java-web-app/build --deploy-script=/home/derek/Repos/nrdk/src/archetypes/java-web-app/deploy
    Error: command: oc --namespace=aa8805-tools get secret/bitbucket-account --output=json
    stderr:error: the server doesn't have a resource type "secret"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant