-
Notifications
You must be signed in to change notification settings - Fork 25
Initial pipeline based on jenkins-shared-library #20
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
base: v1.x/staging
Are you sure you want to change the base?
Conversation
|
|
||
| node("zlux-agent") { | ||
|
|
||
| def lib = library("jenkins-library").org.zowe.jenkins_shared_library |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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, | ||
| ], | ||
| ) |
There was a problem hiding this comment.
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.
5fc5f7b to
a7f7a25
Compare
Signed-off-by: Dmitry Nikolaev <dnikolaev@rocketsoftware.com>
a7f7a25 to
d42ec4d
Compare
Signed-off-by: Dmitry Nikolaev <dnikolaev@rocketsoftware.com>
Signed-off-by: Dmitry Nikolaev <dnikolaev@rocketsoftware.com>
Document angular sample req
Signed-off-by: Dmitry Nikolaev dnikolaev@rocketsoftware.com