RE: How to run commands as Oracle linux user in Jenkins
From: William Beldman <wbeldma_at_uwo.ca>
Date: Mon, 18 May 2020 23:22:24 +0000
Message-ID: <YQXPR0101MB071066DA1A066A9E56E13C49CFB80_at_YQXPR0101MB0710.CANPRD01.PROD.OUTLOOK.COM>
Started by user Admin
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/Databaseinstallation [Databaseinstallation] $ /bin/sh -xe /tmp/jenkins8356574915939683433.sh + whoami
jenkins
Apologies in advance as it is a basic question, but i am new to this :)
Date: Mon, 18 May 2020 23:22:24 +0000
Message-ID: <YQXPR0101MB071066DA1A066A9E56E13C49CFB80_at_YQXPR0101MB0710.CANPRD01.PROD.OUTLOOK.COM>
Hi Listers,
I am learning Jenkins for automating oracle database installation etc.
I have a question, i installed Jenkins.
How do i run commands as Oracle linux user. In other words how to i switch to Oracle user
When i hit build now inside Jenkins Dashboard and see the "Console Output" I see this.
Started by user Admin
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/Databaseinstallation [Databaseinstallation] $ /bin/sh -xe /tmp/jenkins8356574915939683433.sh + whoami
jenkins
Apologies in advance as it is a basic question, but i am new to this :)
I reviewed few blog posts but not able to get past it.
This is my Jenkins version.
<version>2.222.3</version>
--
Cheers,
Kunwar
--
http://www.freelists.org/webpage/oracle-l
Received on Tue May 19 2020 - 01:22:24 CEST