-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from Traceableai/test-suite-jenkins
ENG-41076 : suite fields added and updated corresponding .sh file
- Loading branch information
Showing
14 changed files
with
544 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Use the official Jenkins image from Docker Hub | ||
FROM jenkins/jenkins:lts | ||
|
||
# Switch to root to install Docker CLI | ||
USER root | ||
|
||
# Install Docker CLI to allow Jenkins to run Docker commands | ||
RUN apt-get update && apt-get install -y apt-transport-https \ | ||
ca-certificates curl gnupg2 \ | ||
software-properties-common | ||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - | ||
RUN add-apt-repository \ | ||
"deb [arch=amd64] https://download.docker.com/linux/debian \ | ||
$(lsb_release -cs) stable" | ||
RUN apt-get update && apt-get install -y docker-ce-cli | ||
|
||
# Switch back to the Jenkins user | ||
USER jenkins | ||
|
||
# Skip the initial setup wizard | ||
ENV JAVA_OPTS -Djenkins.install.runSetupWizard=false | ||
|
||
# Expose the default Jenkins port | ||
EXPOSE 8080 | ||
|
||
# Expose the port for attached slave agents | ||
EXPOSE 50000 | ||
|
||
# Start the Jenkins server | ||
CMD ["jenkins.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.