Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial pipeline based on jenkins-shared-library #20

Draft
wants to merge 3 commits into
base: v1.x/staging
Choose a base branch
from

Conversation

DNikolaevAtRocket
Copy link

Signed-off-by: Dmitry Nikolaev dnikolaev@rocketsoftware.com


node("zlux-agent") {

def lib = library("jenkins-library").org.zowe.jenkins_shared_library
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use library("jenkins-library@staging") to temporarily import the latest updates on library. The staging branch has the changes of zowe/jenkins-library#14, zowe/jenkins-library#16, zowe/jenkins-library#17.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Library changes on staging have been merged into master. @staging can be removed now. Thanks for testing.

Jenkinsfile Outdated
paxOptions : '',
keepTempFolder : false
)
sh "compress .pax/${PLUGIN_NAME}.pax && mv .pax/${PLUGIN_NAME}.pax.Z ${PLUGIN_NAME}.pxz"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With zowe/jenkins-library#14, this line is not required now.

Jenkinsfile Outdated
job : "pax-packaging-${PLUGIN_NAME}",
filename : "${PLUGIN_NAME}.pax",
paxOptions : '',
keepTempFolder : false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With zowe/jenkins-library#16, the pax.pack() method now has an extra option compress: true to generate .pax.Z file.

sshCredential: lib.Constants.DEFAULT_PAX_PACKAGING_SSH_CREDENTIAL,
remoteWorkspace: lib.Constants.DEFAULT_PAX_PACKAGING_REMOTE_WORKSPACE,
],
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With zowe/jenkins-library#17, a new option skipCheckout: true is available for setup() method.

Signed-off-by: Dmitry Nikolaev <dnikolaev@rocketsoftware.com>
Signed-off-by: Dmitry Nikolaev <dnikolaev@rocketsoftware.com>
Signed-off-by: Dmitry Nikolaev <dnikolaev@rocketsoftware.com>
timgerstel pushed a commit to timgerstel/sample-angular-app that referenced this pull request Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants