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

[JENKINS-52850] Improve credentials helper section and add SSH support #2171

Merged
merged 2 commits into from May 4, 2019

Conversation

Dohbedoh
Copy link
Contributor

JENKINS-52850

  • Add support for SSH with Private Key credentials in the environment block of declarative pipeline.
  • Improve the current documentation for credentials helper.

Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

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

Some questions...

content/doc/book/pipeline/syntax.adoc Show resolved Hide resolved
content/doc/book/pipeline/syntax.adoc Show resolved Hide resolved
@jenkinsadmin
Copy link

Build failed; the context from the latest run is:

Expand to view
./scripts/groovy pull
jre-alpine: Pulling from library/groovy
8e402f1a9c57: Pulling fs layer
4866c822999c: Pulling fs layer
0c5bd74861e4: Pulling fs layer
20fbb2046271: Pulling fs layer
e323e4749c2c: Pulling fs layer
20fbb2046271: Waiting
e323e4749c2c: Waiting
8e402f1a9c57: Verifying Checksum
8e402f1a9c57: Download complete
4866c822999c: Verifying Checksum
4866c822999c: Download complete
e323e4749c2c: Verifying Checksum
e323e4749c2c: Download complete
8e402f1a9c57: Pull complete
20fbb2046271: Verifying Checksum
20fbb2046271: Download complete
4866c822999c: Pull complete
0c5bd74861e4: Verifying Checksum
0c5bd74861e4: Download complete
0c5bd74861e4: Pull complete
20fbb2046271: Pull complete
e323e4749c2c: Pull complete
Digest: sha256:2164b5535f4dec72c123b5667df9275d9d73250a7859a8edd0a94a8a1cbc40cf
Status: Downloaded newer image for groovy:jre-alpine
./scripts/groovy scripts/release.rss.groovy 'https://updates.jenkins.io/release-history.json' > build/_site/releases.rss
Caught: groovy.json.JsonException: Unable to process url: https://updates.jenkins.io/release-history.json
groovy.json.JsonException: Unable to process url: https://updates.jenkins.io/release-history.json
	at release_rss.run(release.rss.groovy:18)
Caused by: java.net.SocketException: Connection reset
	... 1 more
Makefile:49: recipe for target 'build/fetch' failed
make: *** [build/fetch] Error 1
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] echo
Caught: hudson.AbortException: script returned exit code 2
[Pipeline] mail
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 2
Finished: FAILURE

Powered by the Comment Logger

@MarkEWaite MarkEWaite merged commit 683157f into jenkins-infra:master May 4, 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.

None yet

3 participants