create user and tablespace if does not already exist.
<logical dump name>
<dump directory>
<schema>
<db>
<user>
<password>
. oraenv
<db>
sqlplus / as sysdba
CREATE OR REPLACE DIRECTORY <logical dump name> AS '<dump directory>';
grant read, write on directory <logical dump name> to <user>;
exit;
impdp <user>/<password> schemas=<schema> directory=<logical dump name> dumpfile=<schema>_prod.dmp logfile=imp_<schema>.log
Example:
create tablespace sysdocs datafile 'tbs_sysdocs.dbf' SIZE 100M ONLINE;
create user sysdocs identified by <password> default tablespace sysdocs;
<logical dump name> = stjdump
<dump directory> =/home/oracle/stjdump
<schema> = sysdocs
<db> = db11g
<user> = jenkinss
<password> =
sqlplus / as sysdba
CREATE OR REPLACE DIRECTORY stjdump AS '/home/oracle/stjdump';
grant read, write on directory stjdump to jenkinss;
exit;
impdp jenkinss/<password> schemas=sysdocs REMAP_TABLESPACE=APEX_4454331745105896:sysdocs directory=stjdump dumpfile=sysdocs_prod.dmp logfile=imp_sysdocs.log