Hello,
I created the job in Jenkins to connect to the Storage server (ssh [email protected]) and install a package there.
For testing purposes I just wrote “java” and “net-tools” as choices in the pipeline.
The pipeline works, it is successful, and it installs the $PACKAGE on the Storage server, but the exercise is marked as Not passed. Could you please explain me why or what is expected?
Successful pipeline
I have created a new Freestlyle job and the pipeline is successful.
The $PACKAGE is a list of packages to install. Also this time the exercise is marked as “not passed”/red and I do not understand why, since everything works.
It seems that only a specific solution is expected and accepted
Could you please help?
Successful pipeline (installation of Java)
I double checked the storage server and th eprompt says Java is already installed (by the pipeline job):
As you see, natasha can do sudo without typing in the password, because I added it to visudo.
Freestyle project configuration:
SSH host configuration, under the system configuration of the ‘Publish over SSH’ plugin. The connection test is successful, so Jenkins agent can connect to the storage server. Sorry, I did not take a screenshot of that as the time was over.
Thank you.