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

Migrating builds to screwdriver from travis #1110

Merged
merged 6 commits into from
Nov 12, 2020
Merged

Conversation

michael-mclawhorn
Copy link
Contributor

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@michael-mclawhorn michael-mclawhorn changed the title Sd master Migrating builds to screwdriver from travis Nov 12, 2020
DefaultSystemMetricProtocols.DEFAULT_PROTOCOL_DICTIONARY.putAll(BACKUP_DICTIONARY)
DefaultSystemMetricProtocols.STANDARD_PROTOCOLS.clear()
DefaultSystemMetricProtocols.STANDARD_PROTOCOLS.addAll(BACKUP_STANDARD_PROTOCOLS)
System.out.println("foo!")
Copy link
Contributor

Choose a reason for hiding this comment

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

Debugging artifacts?

screwdriver.yaml Outdated
- build: ./screwdriver/mvn-build.bash

master-commit:
requires: [~commit:master]
Copy link
Contributor

Choose a reason for hiding this comment

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

Generally, I would leave this as ~commit rather than ~commit:master. Screwdriver is already configured to point at a specific branch, so it seems reduntant to limit this to only the master branch. That means that you can't easily set up another screwdriver job to build another branch.

for a in ${PUBLISH_WHITELIST}; do
if [[ ${GIT_BRANCH} = "origin/${a}" ]];
then
WHITELISTED="true";
Copy link
Contributor

Choose a reason for hiding this comment

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

given that you are in a for loop, you might was well break here when the condition is true.

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.

3 participants