Skip to content

Commit

Permalink
Merge pull request #152 from screwdriver-cd/faq
Browse files Browse the repository at this point in the history
fix: add documentation for independent jobs
  • Loading branch information
minzcmu authored Mar 8, 2018
2 parents eb5ba80 + 4c560b0 commit 03f414c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
Binary file added docs/assets/re-run-select.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/re-run-start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/user-guide/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ toc:
url: "#how-do-i-delete-a-pipeline-permanently"
- title: How do I fix "Build failed to start" error message?
url: "#how-do-i-fix-build-failed-to-start-error-message"
- title: How do I re-run a job's build?
url: "#how-do-i-re-run-a-jobs-build"
---

# Frequently Asked Questions
Expand Down Expand Up @@ -77,3 +79,13 @@ This is caused by a variety of reasons including cluster setup issue like hyperd
requires different approaches based on what layer it's failing.

1.`/opt/sd/launch: not found` This issue affects Alpine based images because it uses musl instead of glibc. Workaround is to create the following symlink `mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2` when creating your Docker image.

## How do I re-run a job's build?
To re-run a job's build from a past event, do the following steps.

1. User must be logged-in.
1. Click on desired event from event list, which loads the detailed event graph.
1. Click on the the job icon from the graph and click "Start pipeline from here".

![Select Event and load event graph](../assets/re-run-select.png)
![Start new build for job](../assets/re-run-start.png)
2 changes: 1 addition & 1 deletion docs/user-guide/configuration/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ jobs:
```

## Detached Jobs and Pipelines
It is possible to define workflows that do not have any external trigger. These workflows are "detached" from the normal flow of the pipeline. Some example use cases of this would be to define a rollback flow for your pipeline that could be manually triggered. While it is currently possible to define these flows, there is currently no way to trigger these detached workflows outside of direct interactions with the Screwdriver API.
It is possible to define workflows that do not have any external trigger. These workflows are "detached" from the normal flow of the pipeline. Some example use cases of this would be to define a rollback flow for your pipeline that could be manually triggered. Invoking a detached pipeline involves the same steps as [Re-running a job's build](../FAQ#how-do-i-re-run-a-jobs-build)

0 comments on commit 03f414c

Please sign in to comment.