Skip to content

Commit

Permalink
Merge branch 'master' into updateDefaults
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMieg authored May 10, 2024
2 parents 86b3b75 + 125c48e commit e2b12bc
Show file tree
Hide file tree
Showing 31 changed files with 226 additions and 228 deletions.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ you need to do the following in addition:

* [Install Groovy](https://groovy-lang.org/install.html)
* [Install Maven](https://maven.apache.org/install.html)
* Get a local Jenkins installed: Use for example [cx-server](https://github.com/SAP/devops-docker-cx-server)
* Get a local Jenkins installed

### Jenkins pipelines

Expand Down
2 changes: 1 addition & 1 deletion cmd/abapEnvironmentAssemblePackages_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/abapEnvironmentBuild_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions cmd/abapEnvironmentCheckoutBranch.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func runAbapEnvironmentCheckoutBranch(options *abapEnvironmentCheckoutBranchOpti
if errorGetInfo != nil {
log.Entry().WithError(errorGetInfo).Fatal("Parameters for the ABAP Connection not available")
}
connectionDetails.CertificateNames = options.CertificateNames

repositories := []abaputils.Repository{}
err = checkCheckoutBranchRepositoryConfiguration(*options)
Expand Down
33 changes: 22 additions & 11 deletions cmd/abapEnvironmentCheckoutBranch_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions cmd/abapEnvironmentCloneGitRepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func runAbapEnvironmentCloneGitRepo(config *abapEnvironmentCloneGitRepoOptions,
if errorGetInfo != nil {
return errors.Wrap(errorGetInfo, "Parameters for the ABAP Connection not available")
}
connectionDetails.CertificateNames = config.CertificateNames

log.Entry().Infof("Start cloning %v repositories", len(repositories))
for _, repo := range repositories {
Expand Down
33 changes: 22 additions & 11 deletions cmd/abapEnvironmentCloneGitRepo_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions cmd/abapEnvironmentCreateTag.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func runAbapEnvironmentCreateTag(config *abapEnvironmentCreateTagOptions, com ab
if errorGetInfo != nil {
return errors.Wrap(errorGetInfo, "Parameters for the ABAP Connection not available")
}
connectionDetails.CertificateNames = config.CertificateNames

backlog, errorPrepare := prepareBacklog(config)
if errorPrepare != nil {
Expand Down
41 changes: 26 additions & 15 deletions cmd/abapEnvironmentCreateTag_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions cmd/abapEnvironmentPullGitRepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func runAbapEnvironmentPullGitRepo(options *abapEnvironmentPullGitRepoOptions, c
if err != nil {
return errors.Wrap(err, "Parameters for the ABAP Connection not available")
}
connectionDetails.CertificateNames = options.CertificateNames

var repositories []abaputils.Repository
err = checkPullRepositoryConfiguration(*options)
Expand Down
11 changes: 11 additions & 0 deletions cmd/abapEnvironmentPullGitRepo_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion documentation/docs/guidedtour.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Copy the sources of the application into your own Git repository. While we will

1. Save your changes to your remote repository.

1. To set up a Jenkins job for your repository, open the Jenkins UI under `http://<jenkins-server-address>:<http-port>` and choose **New Item**. Per default, the `cx-server` starts Jenkins on HTTP port `80`. For more information, see the [Jenkins User Documentation][jenkins-io-documentation].
1. To set up a Jenkins job for your repository, open the Jenkins UI under `http://<jenkins-server-address>:<http-port>` and choose **New Item**. For more information, see the [Jenkins User Documentation][jenkins-io-documentation].

![Clicke New Item](images/JenkinsHomeMenu-1.png "Jenkins Home Menu")

Expand Down
14 changes: 0 additions & 14 deletions documentation/docs/infrastructure/customjenkins.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,6 @@ docker run ... -v /var/run/docker.sock:/var/run/docker.sock ...

Project "Piper" requires a set of plugins installed on your Jenkins server. This set may evolve in the future. Make sure that all plugins of the appropriate versions are installed.

The Cx server repository contains an [up-to-date list][devops-cxs-plugins] of the required plugins. To ease the installation, download the list with the following command and use the [Jenkins client][jenkins-doc-client]:

```
curl -o plugins.txt https://raw.githubusercontent.com/SAP/devops-docker-cx-server/master/jenkins-master/plugins.txt
```

On the Jenkins server, run the following command with a user that has administration rights:

```
cat plugins.txt | awk '{system("java " "-jar jenkins-cli.jar -s http://localhost:8080 -auth ${ADM_USER}:${ADM_PASSWD} install-plugin " $1)}'
```

## Shared Library

Shared libraries extending the Jenkins pipeline are defined within the Jenkins system configuration. A library is defined by a link to its source repository and an appropriate version identifier. To add the project "Piper"s library, execute the following steps:
Expand Down Expand Up @@ -100,7 +88,5 @@ If you face such a [user permission issue][piper-issue-781], choose between the
[docker-install]: https://docs.docker.com/install
[dockerhub-node]: https://hub.docker.com/_/node/
[docker-getstarted]: https://docs.docker.com/get-started/
[jenkins-doc-client]: https://jenkins.io/doc/book/managing/cli/
[jenkins-docker-image]: https://github.com/jenkinsci/docker/
[piper-issue-781]: https://github.com/SAP/jenkins-library/issues/781
[devops-cxs-plugins]: https://github.com/SAP/devops-docker-cx-server/blob/master/jenkins-master/plugins.txt
Loading

0 comments on commit e2b12bc

Please sign in to comment.